Wayne Davison
8dd99390f5
Added RSYNC_RSH_IO_ENV.
2003-12-16 23:04:59 +00:00
Wayne Davison
e3217f1448
Tweaked an obsolete comment.
2003-12-16 18:02:15 +00:00
Wayne Davison
e2d22fee53
Added new IOERR_* defines.
2003-12-15 08:07:38 +00:00
Wayne Davison
58cadc8608
Merged in the security fixes from 2.5.7.
2003-12-06 21:07:27 +00:00
J.W. Schultz
6a7cc46cb2
Detect and report when open or opendir succeed but read and
...
readdir fail caused by network filesystems issues and
truncated files.
Thanks to David Norwood and Michael Brown
2003-09-16 02:49:59 +00:00
Wayne Davison
59192f5650
Got rid of a duplicate include for malloc.h and improved the "do we
...
need malloc.h" logic a bit more. (Trying to prevent #warning and
#error problems on *BSD systems.)
2003-08-21 23:54:20 +00:00
Wayne Davison
38b02c13d0
Let's try only including malloc.h if stdlib.h isn't around (and it
...
exists).
2003-08-21 23:32:35 +00:00
Wayne Davison
87f18b6289
Include "lib/wildmatch.h", not "lib/fnmatch.h" or <fnmatch.h>.
2003-07-30 06:12:31 +00:00
Wayne Davison
6813fa7eac
Attempting to fix the snprintf() conflict on a gcc-using HPUX 11.11.
2003-07-04 15:36:39 +00:00
Wayne Davison
4762db4fc9
Added some defines for the various exclude-function arg literals.
...
Added MATCHFLG_ABS_PATH flag for absolute-path patterns.
2003-07-01 21:45:27 +00:00
Wayne Davison
fd73b94d31
Tweaked the exclude_struct for our improved matching code.
2003-05-01 19:33:59 +00:00
J.W. Schultz
195bd906a2
- Per-file dynamic block size is now sqrt(file length).
...
- The per-file checksum size is determined according
to an algorythm provided by Donovan Baarda which
reduces the probability of rsync algorithm
corrupting data and falling back using the whole md4
checksums.
2003-04-10 02:04:58 +00:00
J.W. Schultz
fc0257c9fd
Now support dynamic per-file checksum2 size.
...
This pushes protocol version to 27
2003-04-10 01:13:30 +00:00
J.W. Schultz
91c4da3fda
versions prior to 1.7.0 (protcol version 17) cannot talk to
...
protocol versions > 20 so bumping up the minimum protocol
version and excising the pre-17 cruft.
2003-04-10 00:13:48 +00:00
Wayne Davison
afbcc8f216
Define O_BINARY as "0" if it isn't defined.
2003-03-30 23:00:49 +00:00
J.W. Schultz
52d3e10613
Prevent tempfile names from overflowing.
...
Debian BUG# 183667
2003-03-26 11:04:14 +00:00
J.W. Schultz
9c28e52628
Seperate the uint64_t macros from int64_t
2003-03-25 05:46:52 +00:00
J.W. Schultz
1b2f167546
Frustration mounting. I'll get it right eventually.
...
Thank goodness for the build farm.
2003-03-25 04:18:10 +00:00
J.W. Schultz
702d0c4529
earlier problem was a typo.
2003-03-25 04:09:43 +00:00
J.W. Schultz
51106bafc6
Another stab at uint64 because some platforms seem to have
...
problem with the unsigned off64_t
2003-03-25 03:14:27 +00:00
J.W. Schultz
fbc0bc4d53
Create uint64 for INO64_T and DEV64_T eliminating type mismatches.
2003-03-25 02:02:22 +00:00
J.W. Schultz
1b2db7aecb
Increased maximum protocol version.
...
Added warning for deprecated protocol versions.
2003-03-24 22:42:46 +00:00
Paul Green
b0d791bb35
Patch from Roderick Schertler (roderick at argon.org) to ignore
...
non-POSIX directory mode bits that are used by AIX.
2003-02-18 18:07:36 +00:00
Wayne Davison
518233ca79
Got rid of recent O_TEXT* and O_BINARY* changes.
2003-01-26 20:11:16 +00:00
David Dykstra
536b84680b
Open config files in text mode when O_TEXT is defined. This helps on
...
Cygwin when the config files are on a filesystem that is mounted in
binary mode. Patch from Ville Herva.
2003-01-26 03:46:54 +00:00
Wayne Davison
c80b3d8c3f
Added "extern" to io_{read,write}_phase line (they were being
...
multiply defined).
2003-01-19 05:53:07 +00:00
Wayne Davison
bda41fa509
+ The prototype for isc_net_pton() should have been inet_pton().
...
+ Define IN_LOOPBACKNET if it is not already defined.
2003-01-10 20:09:58 +00:00
David Dykstra
30e8c8e1e4
When using daemon mode over a remote shell program and not running as root,
...
default the config file to just "rsyncd.conf" in the current directory
instead of /etc/rsyncd.conf. Also, fix problems with logging messages when
running daemon mode over a remote shell program: it was pretty much doing
the opposite of what it should have, sending early error messages to the
log and later messages to the client. Switched it around so the very early
error messages go to the client and the later ones go to the log.
2002-08-30 23:27:26 +00:00
Martin Pool
6ded1170ac
Doxygen
2002-04-11 02:18:51 +00:00
Martin Pool
eca2adb4b3
OK, we can now get phase messages if we fail in send_file_entry
2002-04-09 04:50:25 +00:00
Martin Pool
f4a0483ab8
Add manual prototype for maintainer-mode function
2002-04-08 08:24:59 +00:00
Martin Pool
999dfffc9b
Add link to Apple bug.
2002-03-25 07:29:43 +00:00
Martin Pool
fb859e5674
Apparently the OS X port of gcc gags on __attribute__.
2002-03-25 06:49:08 +00:00
Martin Pool
1bfbf40bd5
Fix --whole-file problem that caused it to be the default even for
...
remote connections. (Frank Schulz)
<http://lists.samba.org/pipermail/rsync/2002-March/006526.html >
Also, add documentation for whole_file and add assertions that the
value is valid.
2002-03-19 03:21:53 +00:00
Martin Pool
0f0ea7f779
Add UNUSED macro that expands to a parameter attribute annotation on
...
gcc, to quieten its worries about parameters that must always be
unused.
2002-02-23 00:17:50 +00:00
Martin Pool
1eca49c6ed
Doc:
...
#defiine lchown chown
could be bad on systems which have no lchown and where chown
follows symbollic links. On such systems it might be better not to
try to chown symlinks at all.
2002-02-18 21:46:49 +00:00
Martin Pool
1e19f7ba5f
At least change INO64_T and DEV64_T back to just 'int64', not
...
'unsigned int64'. This should fix some compile problems on machines
where int64 is not a simple integer type, but I'm not convinced it is
the ideal fix.
2002-02-13 02:57:55 +00:00
Martin Pool
81c652d5d2
Merge modified --with-rsh patch: we now determine the default
...
remote-execution command as follows:
1) if --with-rsh is specified, use that.
2) otherwise if remsh is in the path, use that.
3) otherwise use rsh
If remsh is present, we always modify the order of parameters to suit
it. This is a bit strange.
2002-02-06 04:37:09 +00:00
Martin Pool
0feec72eee
DEV64_t and INO64_T should probably be unsigned
2002-01-25 23:00:21 +00:00
Martin Pool
58c2960960
Must get declarations from addrinfo.h before prototypes.
2002-01-24 07:22:38 +00:00
Martin Pool
10f83cf43d
Doc.
2002-01-23 08:08:48 +00:00
Martin Pool
1c09c743b1
indent -kr -i8
2002-01-23 07:52:52 +00:00
Martin Pool
9dd891bb28
Signedness security patch from Sebastian Krahmer <krahmer@suse.de> --
...
in some cases we were not sufficiently careful about reading integers
from the network.
Also, make sure log messages are always nul-terminated.
2002-01-23 04:57:18 +00:00
Martin Pool
b9df3bf20c
DOc.
2002-01-11 08:37:42 +00:00
Martin Pool
6abd193fe3
Always use 64-bit ino_t and dev_t internally, so that we can detect
...
hardlinks if coming from a larger platform. Add heaps of comments
explaining why this is so.
2002-01-11 08:25:32 +00:00
Martin Pool
e5a2b8544d
Look for mallinfo() and use it to display
...
heap usage information in --stats
2002-01-11 07:16:11 +00:00
Martin Pool
736a6a291c
In protocol version 26, always
...
send 64-bit ino_t and dev_t. We also need to try to use 64-bit
ino_t internally *even if* this platform does not have 64-bit
inums itself, because we need to find duplicate inums when
coming from a larger platform with --hardlinks.
2002-01-11 07:15:16 +00:00
Martin Pool
a8e2a43a09
Get rid of global_opts struct as suggested by Dave -- too many
...
problems with initialization.
2001-12-18 06:47:40 +00:00
Martin Pool
e20a4f84d6
Some platforms may have getaddrinfo() but not sockaddr_storage.
2001-12-05 13:19:16 +00:00
Martin Pool
a538066d5a
Add --no-detach option for W32, daemontools, etc.
2001-12-05 13:03:16 +00:00