Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186495 Details for
Bug 245271
sys-apps/module-init-tools: modprobe parses .svn/ dirs in /etc/modprobe.d/
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ignore hidden dirs fix
module-init-tools-3.6-hidden-dirs.patch (text/plain), 455 bytes, created by
Terra
on 2009-03-27 23:11:28 UTC
(
hide
)
Description:
Ignore hidden dirs fix
Filename:
MIME Type:
Creator:
Terra
Created:
2009-03-27 23:11:28 UTC
Size:
455 bytes
patch
obsolete
>http://bugs.gentoo.org/245271 > >--- a/modprobe.c >+++ b/modprobe.c >@@ -1289,6 +1289,12 @@ > DIR *dir; > int ret = 0; > >+ /* Ignore hidden dirs. This allows people to maintain things with >+ * SCMs like .svn/ or .git/ or ... >+ */ >+ if ((strncmp(filename, "/etc/modprobe.d/.", 17) == 0) || (strncmp(filename, "/etc/modules.d/.", 16) == 0)) >+ return 1; >+ > /* Reiser4 has file/directory duality: treat it as both. */ > dir = opendir(filename); > if (dir) {
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 245271
: 186495