The Samba-Bugzilla – Attachment 1657 Details for
Bug 3327
close_our_files erroneously closes FD for gencache.tdb
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to fix the problem
samba-3.0.7-namecache.patch (text/plain), 568 bytes, created by
Tony Mountifield
on 2006-01-08 15:54:37 UTC
(
hide
)
Description:
Proposed patch to fix the problem
Filename:
MIME Type:
Creator:
Tony Mountifield
Created:
2006-01-08 15:54:37 UTC
Size:
568 bytes
patch
obsolete
>diff -ru samba-3.0.7.orig/source/client/smbmount.c samba-3.0.7/source/client/smbmount.c >--- samba-3.0.7.orig/source/client/smbmount.c 2004-04-20 21:42:58.000000000 +0100 >+++ samba-3.0.7/source/client/smbmount.c 2006-01-07 18:07:20.000000000 +0000 >@@ -388,6 +388,9 @@ > c = NULL; > > if (!closed) { >+ /* close the name cache so that close_our_files() doesn't steal its FD */ >+ namecache_shutdown(); >+ > /* redirect stdout & stderr since we can't know that > the library functions we use are using DEBUG. */ > if ( (fd = open("/dev/null", O_WRONLY)) < 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 Raw
Actions:
View
Attachments on
bug 3327
:
1657
|
1660