git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
750ec9b
)
Use S_IXUSR instead of the now-obsolete S_IEXEC.
author
Wayne Davison
<wayned@samba.org>
Sun, 19 May 2013 21:25:58 +0000
(21:25 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 19 May 2013 22:01:29 +0000
(22:01 +0000)
batch.c
patch
|
blob
|
history
diff --git
a/batch.c
b/batch.c
index 23e8633728277ed7f1eef4ac021a58a0e5aa4076..afda1f97096022b77929bfeb8adef1a7aa758d95 100644
(file)
--- a/
batch.c
+++ b/
batch.c
@@
-221,7
+221,7
@@
void write_batch_shell_file(int argc, char *argv[], int file_arg_cnt)
stringjoin(filename, sizeof filename,
batch_name, ".sh", NULL);
fd = do_open(filename, O_WRONLY | O_CREAT | O_TRUNC,
- S_IRUSR | S_IWUSR | S_I
EXEC
);
+ S_IRUSR | S_IWUSR | S_I
XUSR
);
if (fd < 0) {
rsyserr(FERROR, errno, "Batch file %s open error",
filename);