Skip to content

Commit af57b55

Browse files
committed
Some misc cleanup
Remove some extraneous vars, update some years, add an rrsync opt, & ensure some less options are set right when running release-rsync.
1 parent 967e642 commit af57b55

File tree

6 files changed

+5
-6
lines changed

6 files changed

+5
-6
lines changed

batch.c

-3
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,10 @@ extern int do_compression;
3838
extern int inplace;
3939
extern int append_mode;
4040
extern int write_batch;
41-
extern int xfersum_type;
4241
extern int protocol_version;
4342
extern int raw_argc, cooked_argc;
4443
extern char **raw_argv, **cooked_argv;
4544
extern char *batch_name;
46-
extern const char *checksum_choice;
47-
extern const char *compress_choice;
4845
#ifdef ICONV_OPTION
4946
extern char *iconv_opt;
5047
#endif

getgroups.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* `id -G` on Linux, but it's too hard to find a portable equivalent.
44
*
55
* Copyright (C) 2002 Martin Pool
6-
* Copyright (C) 2003-2019 Wayne Davison
6+
* Copyright (C) 2003-2020 Wayne Davison
77
*
88
* This program is free software; you can redistribute it and/or modify
99
* it under the terms of the GNU General Public License version 3 as

ifuncs.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* Inline functions for rsync.
22
*
3-
* Copyright (C) 2007-2019 Wayne Davison
3+
* Copyright (C) 2007-2020 Wayne Davison
44
*
55
* This program is free software; you can redistribute it and/or modify
66
* it under the terms of the GNU General Public License as published by

packaging/release-rsync

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ sys.path = ['packaging'] + sys.path
1313

1414
from pkglib import *
1515

16+
os.environ['LESS'] = 'mqeiXR'; # Make sure that -F is turned off and -R is turned on.
1617
dest = os.environ['HOME'] + '/samba-rsync-ftp'
1718
ORIGINAL_PATH = os.environ['PATH']
1819

support/rrsync

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ our %long_opt = (
111111
'list-only' => 0,
112112
'log-file' => $only eq 'r' ? -1 : 3,
113113
'log-format' => 1,
114+
'max-alloc' => 1,
114115
'max-delete' => 1,
115116
'max-size' => 1,
116117
'min-size' => 1,

t_stub.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int preserve_xattrs = 0;
3333
int preserve_perms = 0;
3434
int preserve_executability = 0;
3535
int open_noatime = 0;
36-
size_t max_alloc = 1024*1024*1024;
36+
size_t max_alloc = 1024*1024*1024; /* max_alloc is needed when combined with util2.o */
3737
char *partial_dir;
3838
char *module_dir;
3939
filter_rule_list daemon_filter_list;

0 commit comments

Comments
 (0)