Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 436748 Details for
Bug 478226
sys-apps/openrc segfaults when no fstab file is present
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for sys-apps/openrc-0.19.1
openrc-0.19.1-mountinfo-fstab.patch (text/plain), 354 bytes, created by
A. Wilcox (awilfox)
on 2016-06-07 09:24:07 UTC
(
hide
)
Description:
Patch for sys-apps/openrc-0.19.1
Filename:
MIME Type:
Creator:
A. Wilcox (awilfox)
Created:
2016-06-07 09:24:07 UTC
Size:
354 bytes
patch
obsolete
>--- a/src/rc/mountinfo.c 2015-12-09 21:25:53.000000000 +0000 >+++ b/src/rc/mountinfo.c 2016-06-07 09:17:00.315018824 +0000 >@@ -275,6 +275,9 @@ > struct mntent *ent = NULL; > FILE *fp; > >+ if ((access("/etc/fstab", F_OK)) == -1) >+ return NULL; >+ > fp = setmntent("/etc/fstab", "r"); > while ((ent = getmntent(fp))) > if (strcmp(file, ent->mnt_dir) == 0)
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 478226
:
436748
|
436752