Andrew Tridgell
d4ebe7a7b1
changed the name of the temporary filename to include a leading . so
...
that it appears hidden while being transferred. This should be useful
when using rsync for mirroring so users accessing via ftp don't get
confused by the temporary files.
1998-05-10 13:45:03 +00:00
Andrew Tridgell
d7ff63cf1a
the statistics reporting was the wrong way around for client receipt
...
mode! It reported the read/written backwards.
1998-05-10 13:01:59 +00:00
Andrew Tridgell
e45e009309
changed a couple of places to use strlcpy()
1998-05-10 12:37:26 +00:00
Andrew Tridgell
45ccc5c08c
only call openlog once
...
fix a segv in loadparm.c
1998-05-10 08:31:50 +00:00
Andrew Tridgell
ff8b29b8c6
use syslog instead of /var/adm/rsyncd.log
1998-05-10 08:24:38 +00:00
Andrew Tridgell
8ef4ffd698
change to allow names or numbers to be used for uid and gid.
1998-05-10 08:05:56 +00:00
Andrew Tridgell
c596dad1d1
fixed typo in socket test
1998-05-10 07:45:14 +00:00
Andrew Tridgell
7d29d4ba13
look for -lsocket by checking for connect()
1998-05-10 07:40:20 +00:00
Andrew Tridgell
7a6421fa76
split the options parsing code into options.c
...
added the --port and --config options
use strlcpy() instead of strncpy()
some cleanups and formatting changes
1998-05-10 07:25:40 +00:00
Andrew Tridgell
2c91d3d311
better negotiation of protocol versions
1998-05-10 03:08:22 +00:00
Andrew Tridgell
3591c0660c
cleanup code a bit
1998-05-10 01:46:06 +00:00
Andrew Tridgell
0b76cd63ee
configuration parsing and loading code for rsyncd. This is based
...
on the Samba config code, so you'll find that the config files will
be eerily familiar if you have ever worked with Samba.
1998-05-09 14:00:55 +00:00
Andrew Tridgell
f0fca04e4e
first vesrion of working socket based rsync. It still needs a lot of
...
work, but at least it works :-)
1998-05-09 13:58:54 +00:00
Andrew Tridgell
bc2e93eb8e
just a stub for now
1998-05-07 14:53:02 +00:00
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