The Samba-Bugzilla – Attachment 1292 Details for
Bug 2831
rsync tries to create "." directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Ignore EEXIST on second mkdir() call
mkdir.patch (text/plain), 537 bytes, created by
Wayne Davison
on 2005-06-30 10:00:25 UTC
(
hide
)
Description:
Ignore EEXIST on second mkdir() call
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2005-06-30 10:00:25 UTC
Size:
537 bytes
patch
obsolete
>--- generator.c 28 Jun 2005 00:12:08 -0000 1.216 >+++ generator.c 30 Jun 2005 16:52:57 -0000 >@@ -707,7 +707,7 @@ static void recv_generator(char *fname, > if (statret != 0 && do_mkdir(fname,file->mode) != 0 && errno != EEXIST) { > if (!relative_paths || errno != ENOENT > || create_directory_path(fname, orig_umask) < 0 >- || do_mkdir(fname, file->mode) < 0) { >+ || (do_mkdir(fname, file->mode) < 0 && errno != EEXIST)) { > rsyserr(FERROR, errno, > "recv_generator: mkdir %s failed", > full_fname(fname));
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 2831
: 1292