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:
Wayne Davison
2020-06-27 21:19:52 -07:00
parent 967e6426b9
commit af57b55bdb
6 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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']

View File

@@ -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,

View File

@@ -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;