Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 405268 Details for
Bug 417439
media-gfx/splashutils should move cachedir /lib/splash/cache to /run
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for fix work with symlink /etc/mtab
splashutils.patch (text/plain), 615 bytes, created by
Mike Hiretsky
on 2015-06-17 07:06:15 UTC
(
hide
)
Description:
Patch for fix work with symlink /etc/mtab
Filename:
MIME Type:
Creator:
Mike Hiretsky
Created:
2015-06-17 07:06:15 UTC
Size:
615 bytes
patch
obsolete
>diff --git a/splashutils-1.5.4.4/src/libfbsplash.c b/splashutils-1.5.4.4/src/libfbsplash.c >index 1774f9d..c3faebd 100644 >--- a/splashutils-1.5.4.4/src/libfbsplash.c >+++ b/splashutils-1.5.4.4/src/libfbsplash.c >@@ -495,7 +495,9 @@ int fbsplash_cache_cleanup(char **profile_save) > > nosave: > /* Clear a stale mtab entry that might have been created by the initscripts. */ >- system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab"); >+ if(lstat("/etc/mtab", &buf) != 0 || !S_ISLNK(buf.st_mode)) { >+ system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab"); >+ } > > umount2(what, MNT_DETACH); > return err;
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 417439
: 405268