Andrew Tridgell
d3394de178
removed some quoted printable stuff from this so it works again
1998-05-07 14:52:38 +00:00
Andrew Tridgell
9486289ce4
some large systematic changes to make socket conversion easier. The
...
biggest one is the use of rprintf() instead of fprintf()
1998-05-07 14:50:22 +00:00
Andrew Tridgell
5d6bcd4472
some code cleanup in preparation for a cleaner client/server split
1998-05-07 12:30:47 +00:00
Andrew Tridgell
94f3c3b047
improve the autoconf warning for broken readdir
1998-05-07 12:29:56 +00:00
Paul Mackerras
d4286ec49d
Add pristine zlib-1.1.2 code, ready for hacking.
1998-05-07 06:19:41 +00:00
Andrew Tridgell
dad5e9d0b5
now using autoheader as well as autoconf
1998-05-07 03:57:26 +00:00
Andrew Tridgell
b79223389b
hopefully better support for systems where sizeof(int)==8
1998-05-06 14:13:03 +00:00
Andrew Tridgell
fa37d4bbaf
don't need off64_t code on systems where off_t is already 64 bits
1998-05-06 08:01:00 +00:00
Andrew Tridgell
f28ee65baa
damn solaris doesn't prototype it's functions correctly. grrr.
1998-05-06 07:35:37 +00:00
Andrew Tridgell
94c9ef1fc3
handle mmap() failures
1998-05-06 07:28:14 +00:00
Andrew Tridgell
59503278bf
better test for solaris broken readdir
1998-05-06 07:18:06 +00:00
Andrew Tridgell
d6e6ecbdbf
handle broken readdir() on Solaris 2.6 (it returns the name offset by
...
2 characters!)
1998-05-06 07:00:38 +00:00
Andrew Tridgell
73233f0f12
add support for lseek64() under solaris 2.6
1998-05-06 06:34:18 +00:00
Andrew Tridgell
debb45054a
Solaris 2.6 doesn't support "signed char". What a broken system!
1998-05-06 06:21:35 +00:00
Andrew Tridgell
efb2f6bf62
use floating point for printout of stats - this wrks on machines
...
without long long but with a 64 bit off_t
1998-05-06 06:07:06 +00:00
Andrew Tridgell
bcacc18bdf
added support for 64 bit file offsets under Solaris 2.6. Not tested
...
yet.
1998-05-06 05:43:36 +00:00
Andrew Tridgell
3bee67337d
fix up the int64 handling a little. It should work on a few more
...
systems now (tested on OSF1)
1998-05-06 05:05:00 +00:00
Andrew Tridgell
0944563eb9
a leading / in a pattern now means "use a absolute path match". This
...
allows you to exclude root directories without excluding
subdirectories of the same name.
1998-05-05 11:23:51 +00:00
Andrew Tridgell
a0b65b1805
added support for sockets and fifos
1998-04-28 05:53:18 +00:00
Andrew Tridgell
ddddf27b28
a much improved test script from Phil.
1998-04-17 15:48:10 +00:00
rsync-bugs
1f1b3b8ee7
preparing for release of 1.7.4
v1.7.4
1998-04-17 06:49:05 +00:00
Andrew Tridgell
5806b30f0f
this is a little test script to test some of rsyncs features
...
(contributed by Phil Hands)
1998-04-17 06:08:59 +00:00
Andrew Tridgell
3333ffbd43
revamped the -delete code. The last few bugs with it revealed that it
...
had a fundamental flaw in the way it detected duplicate deletion
scanning (which is very important when -R is used). I now store
inode/device numbers and use those to do the detection. This should be
a much less fragile method.
1998-04-17 06:07:23 +00:00
Andrew Tridgell
a16bbc3990
a few code cleanups
1998-04-13 07:26:37 +00:00
rsync-bugs
cf0d1d819a
preparing for release of 1.7.3
v1.7.3
1998-04-13 07:00:55 +00:00
Andrew Tridgell
0a25de67e9
fixed a bug in the handling of -R with --delete
...
I introduced this bug in the last version as a side effect of fixing
the permissions on intermediate directories with -R. drat.
1998-04-13 06:39:33 +00:00
Andrew Tridgell
317302412e
not quite so many decimal places in "speedup" :-)
1998-04-13 04:44:49 +00:00
Andrew Tridgell
1250f24ed2
fixed a bug in handling the -c option and non-regular files. It hadn't
...
turned up before because Linux had a bug in the handling of NULL
pointers to read()/write() on pipes, so I never noticed the bug in my
testing.
I've also sent a patch to Linus.
1998-04-09 00:38:40 +00:00
rsync-bugs
945eba8c1f
preparing for release of 1.7.2
v1.7.2
1998-04-05 06:46:11 +00:00
Andrew Tridgell
d867229ba0
handle sparse files more efficiently
1998-04-05 06:43:38 +00:00
Andrew Tridgell
1b2d733af2
a couple more system calls wrapped in syscall.c
1998-04-05 06:26:24 +00:00
Andrew Tridgell
366345fe05
in local->local mode don't use exec to start the "remote" rsync,
...
instead just fork()
1998-04-05 06:07:37 +00:00
Andrew Tridgell
dd04a03440
fixed a bug in the hlink code - it wasn't taking account of the new
...
pointer list code for flist.
1998-04-05 04:34:52 +00:00
Andrew Tridgell
575f2fca9a
fixed a string termination bug in the uidlist handling code. I've also
...
added a read_sbuf() routine that fixes this kind of bug generically to
avoid similar problems in future.
1998-04-01 05:20:19 +00:00
Andrew Tridgell
fc4e8d51ff
don't need to test for SETPGRP any more as it is no longer used
1998-03-27 03:38:06 +00:00
Andrew Tridgell
98ae8c3e38
Solaris uses EEXIST instead of ENOTEMPTY.
1998-03-27 03:04:34 +00:00
rsync-bugs
49f4b973a1
preparing for release of 1.7.1
v1.7.1
1998-03-26 06:11:18 +00:00
Andrew Tridgell
a070c37b7e
fixed a bug I introduced in the last big commit
1998-03-26 06:09:04 +00:00
Andrew Tridgell
17faa41c7d
added some debugging code
1998-03-26 05:48:37 +00:00
rsync-bugs
a90da9985a
preparing for release of 1.7.0
v1.7.0
1998-03-26 04:53:37 +00:00
Andrew Tridgell
8a24eece38
updated README and man page ready for the new release
1998-03-26 04:43:10 +00:00
Andrew Tridgell
6ba9279fb2
- added an internal io_error flag. Whenever an io error occurs (such
...
as not being able to open a directory) this flag is set and propogated
to the other end. When this flag is set the --delete code is
disabled. This prevents the problem that io or permission errors could
cause files to be incorrectly deleted on the destination.
- added a --timeout option. This allows you to set an IO timeout in
seconds. If no io occurs in that time then rsync exits with a timeout
error.
- changed some FERROR fds to FINFO
1998-03-26 04:18:47 +00:00
Andrew Tridgell
5fb543d587
if rsync fails to update the group of a file but nothing else then
...
don't report a problem. On most OSes non-root users can't change the
group of a file.
1998-03-26 00:32:51 +00:00
Andrew Tridgell
0c5f37d9db
when using -x to stop at filesystem boundaries, include the mount
...
points but not their contents.
I did this by calling stat() on the directory above the current
directory and checking to see if it has the correct st_dev. Hopefully
this will work for most systems.
Note that the permissions and ownership on the mount point cannot be
copied correctly as they are unavailable while the filesystem is
mounted. Instead rsync will set the permissions and ownership to those
of the root directory of the mounted filesystem (ie. the apparent
permissions/ownership of the directory)
1998-03-26 00:11:50 +00:00
Andrew Tridgell
42849e9202
add the dummy file to .cvsignore
1998-03-25 11:28:35 +00:00
Andrew Tridgell
a746eb9de0
- fixed a bug in the utimbuf test
...
- rebuilt prototypes
1998-03-25 11:26:20 +00:00
Andrew Tridgell
71c4617611
- on systems (such as intel linux) where off_t is 32 bits but "long long"
...
is 64 bits use long long to get the totals right when transferring
more than 2^32 bytes of data.
- use inline on flist_up if the compiler supports it
1998-03-25 11:08:32 +00:00
Andrew Tridgell
3cb6f5d6cb
added a --force option.
...
This options tells rsync to delete directories even if they are not
empty. This applies to both the --delete option and to cases where
rsync tries to copy a normal file but the destination contains a
directory of the same name. Normally rsync will refuse to do a
recursive directory deletion in such cases, by using --force the
recursive deletion will be done.
1998-03-25 06:05:47 +00:00
Andrew Tridgell
366bd9056c
changes to make VPATH work correctly, thanks to patl@cag.lcs.mit.edu
1998-03-25 04:14:18 +00:00
Andrew Tridgell
ac71984aae
added this so the lib directory gets created when using VPATH
1998-03-25 04:13:17 +00:00