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.
This commit is contained in:
3
batch.c
3
batch.c
@@ -38,13 +38,10 @@ extern int do_compression;
|
|||||||
extern int inplace;
|
extern int inplace;
|
||||||
extern int append_mode;
|
extern int append_mode;
|
||||||
extern int write_batch;
|
extern int write_batch;
|
||||||
extern int xfersum_type;
|
|
||||||
extern int protocol_version;
|
extern int protocol_version;
|
||||||
extern int raw_argc, cooked_argc;
|
extern int raw_argc, cooked_argc;
|
||||||
extern char **raw_argv, **cooked_argv;
|
extern char **raw_argv, **cooked_argv;
|
||||||
extern char *batch_name;
|
extern char *batch_name;
|
||||||
extern const char *checksum_choice;
|
|
||||||
extern const char *compress_choice;
|
|
||||||
#ifdef ICONV_OPTION
|
#ifdef ICONV_OPTION
|
||||||
extern char *iconv_opt;
|
extern char *iconv_opt;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
* `id -G` on Linux, but it's too hard to find a portable equivalent.
|
* `id -G` on Linux, but it's too hard to find a portable equivalent.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2002 Martin Pool
|
* Copyright (C) 2002 Martin Pool
|
||||||
* Copyright (C) 2003-2019 Wayne Davison
|
* Copyright (C) 2003-2020 Wayne Davison
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 3 as
|
* it under the terms of the GNU General Public License version 3 as
|
||||||
|
|||||||
2
ifuncs.h
2
ifuncs.h
@@ -1,6 +1,6 @@
|
|||||||
/* Inline functions for rsync.
|
/* Inline functions for rsync.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2019 Wayne Davison
|
* Copyright (C) 2007-2020 Wayne Davison
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ sys.path = ['packaging'] + sys.path
|
|||||||
|
|
||||||
from pkglib import *
|
from pkglib import *
|
||||||
|
|
||||||
|
os.environ['LESS'] = 'mqeiXR'; # Make sure that -F is turned off and -R is turned on.
|
||||||
dest = os.environ['HOME'] + '/samba-rsync-ftp'
|
dest = os.environ['HOME'] + '/samba-rsync-ftp'
|
||||||
ORIGINAL_PATH = os.environ['PATH']
|
ORIGINAL_PATH = os.environ['PATH']
|
||||||
|
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ our %long_opt = (
|
|||||||
'list-only' => 0,
|
'list-only' => 0,
|
||||||
'log-file' => $only eq 'r' ? -1 : 3,
|
'log-file' => $only eq 'r' ? -1 : 3,
|
||||||
'log-format' => 1,
|
'log-format' => 1,
|
||||||
|
'max-alloc' => 1,
|
||||||
'max-delete' => 1,
|
'max-delete' => 1,
|
||||||
'max-size' => 1,
|
'max-size' => 1,
|
||||||
'min-size' => 1,
|
'min-size' => 1,
|
||||||
|
|||||||
2
t_stub.c
2
t_stub.c
@@ -33,7 +33,7 @@ int preserve_xattrs = 0;
|
|||||||
int preserve_perms = 0;
|
int preserve_perms = 0;
|
||||||
int preserve_executability = 0;
|
int preserve_executability = 0;
|
||||||
int open_noatime = 0;
|
int open_noatime = 0;
|
||||||
size_t max_alloc = 1024*1024*1024;
|
size_t max_alloc = 1024*1024*1024; /* max_alloc is needed when combined with util2.o */
|
||||||
char *partial_dir;
|
char *partial_dir;
|
||||||
char *module_dir;
|
char *module_dir;
|
||||||
filter_rule_list daemon_filter_list;
|
filter_rule_list daemon_filter_list;
|
||||||
|
|||||||
Reference in New Issue
Block a user