The Samba-Bugzilla – Attachment 2181 Details for
Bug 3554
Second copy of same rsync daemon should notice pid file and quit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
rsync-2.6.8-pidfile.patch (text/plain), 444 bytes, created by
Simon Stelling
on 2006-10-11 17:34:15 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Simon Stelling
Created:
2006-10-11 17:34:15 UTC
Size:
444 bytes
patch
obsolete
>--- clientserver.c.orig 2006-10-12 00:21:11.000000000 +0200 >+++ clientserver.c 2006-10-12 00:21:56.000000000 +0200 >@@ -854,7 +854,7 @@ > int fd; > pid_t pid = getpid(); > cleanup_set_pid(pid); >- if ((fd = do_open(lp_pid_file(), O_WRONLY|O_CREAT|O_TRUNC, >+ if ((fd = do_open(lp_pid_file(), O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, > 0666 & ~orig_umask)) == -1) { > cleanup_set_pid(0); > rsyserr(FLOG, errno, "failed to create pid file %s",
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 3554
: 2181