Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved a sentence about --whole-file.
[rsync/rsync.git]
/
batch.c
diff --git
a/batch.c
b/batch.c
index
42a249c
..
5373a48
100644
(file)
--- a/
batch.c
+++ b/
batch.c
@@
-8,7
+8,7
@@
#include "rsync.h"
#include <time.h>
#include "rsync.h"
#include <time.h>
-extern char *batch_
prefix
;
+extern char *batch_
name
;
void write_batch_argvs_file(int argc, char *argv[])
{
void write_batch_argvs_file(int argc, char *argv[])
{
@@
-16,7
+16,7
@@
void write_batch_argvs_file(int argc, char *argv[])
char filename[MAXPATHLEN];
stringjoin(filename, sizeof filename,
char filename[MAXPATHLEN];
stringjoin(filename, sizeof filename,
- batch_
prefix
, ".rsync_argvs", NULL);
+ batch_
name
, ".rsync_argvs", NULL);
fd = do_open(filename, O_WRONLY | O_CREAT | O_TRUNC,
S_IRUSR | S_IWUSR | S_IEXEC);
if (fd < 0) {
fd = do_open(filename, O_WRONLY | O_CREAT | O_TRUNC,
S_IRUSR | S_IWUSR | S_IEXEC);
if (fd < 0) {
@@
-34,7
+34,7
@@
void write_batch_argvs_file(int argc, char *argv[])
write(fd, " ", 1);
if (strncmp(argv[i], "--write-batch=", 14) == 0) {
write(fd, "--read-batch=", 13);
write(fd, " ", 1);
if (strncmp(argv[i], "--write-batch=", 14) == 0) {
write(fd, "--read-batch=", 13);
- write(fd, batch_
prefix, strlen(batch_prefix
));
+ write(fd, batch_
name, strlen(batch_name
));
} else if (i == argc - 1) {
char *p = find_colon(argv[i]);
if (p) {
} else if (i == argc - 1) {
char *p = find_colon(argv[i]);
if (p) {