Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 396804 Details for
Bug 540160
dev-libs/libcgroup: Ebuild improvements
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libcgroup-0.41-3.patch
libcgroup-0.41-3.patch (text/plain), 915 bytes, created by
tokiclover
on 2015-02-18 10:02:16 UTC
(
hide
)
Description:
libcgroup-0.41-3.patch
Filename:
MIME Type:
Creator:
tokiclover
Created:
2015-02-18 10:02:16 UTC
Size:
915 bytes
patch
obsolete
>--- a/dev-libs/libcgroup/files/cgconfig.initd 2015-02-18 10:58:16.991988454 +0100 >+++ b/dev-libs/libcgroup/files/cgconfig.initd 2015-02-18 10:56:03.159989441 +0100 >@@ -33,23 +33,20 @@ > > cgconfig_umount() > { >- local line mnt_pnt mnt_pts >+ local ctrl eq mnt_pnt mnt_pts > >- while read line; do >- case "${line}" in >- (\#*) continue;; >+ while read ctrl eq mnt_pnt; do >+ case "${ctrl}" in >+ (\#*) continue ;; > (mount*) mnt_pts=true;; >+ (\}*) mnt_pts= ;; > (*) >- if [ -n "${mnt_pts}" ]; then >- if [ "${line/\}}" = "${line}" ]; then >- mnt_pnt=$(echo "${line%;}" | cut -d= -f2) >- ebegin "Unmounting ${mnt_pnt}" >- umount "${mnt_pnt}" >- eend "$?" >- else >- mnt_pts= >- fi >- fi;; >+ [ -n "${mnt_pts}" ] || continue >+ mnt_pnt="${mnt_pnt%;}" >+ ebegin "Unmounting ${mnt_pnt}" >+ umount "${mnt_pnt}" >+ eend "$?" >+ ;; > esac > done < "${CG_CONFIGFILE}" > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 540160
:
396520
|
396730
|
396792
|
396804
|
396926
|
396928
|
396930
|
406828
|
406830