Wayne Davison
855decd3a7
Added back the O_BINARY #ifdef.
2003-01-26 20:09:02 +00:00
Wayne Davison
0090cbdba6
Got rid of O_TEXT_STR change.
2003-01-26 20:07:55 +00:00
Wayne Davison
73ff720972
File I/O already handles '\r', so we can remove the O_TEXT flags.
2003-01-26 19:37:54 +00:00
David Dykstra
c561e1378d
Remove a couple items I know are no longer needed.
2003-01-26 04:04:47 +00:00
David Dykstra
aa2c47d835
Better fix for infinite recursion; don't return from exit_cleanup
...
unless the nesting is already pretty deep, because there are normal
cases where exit_cleanup is nested shallowly. Patch from Marc Espie,
posted by Brian Poole.
2003-01-26 03:53:34 +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
David Dykstra
7508b795bf
Tests that use hands_setup to make a test file directory and right
...
afterward make a copy were failing on cygwin because the default
--modify-windows now 1 on Cygwin. Adding a 2 second sleep at the end of
hands_setup so that hopefully the tests will succeed because the copy
will be made more than 1 second away from the original.
2003-01-26 03:34:19 +00:00
Wayne Davison
76ee1d18bf
Don't try to run daemon tests as "nobody".
2003-01-25 03:46:57 +00:00
Wayne Davison
379bc86547
Getting rid of recent "chown" since we decided to forego trying to run
...
the daemon tests as "nobody".
2003-01-25 03:45:40 +00:00
David Dykstra
066696644f
Change default of --modify-window on Cygwin from 2 to 1 because that's all
...
that's needed on FAT filesystems. NTFS filesystems can do with a window of
0, but it shouldn't hurt because it's highly unlikely that any given file
will be modified within one second of the time that rsync last copied it.
2003-01-24 22:07:22 +00:00
Paul Green
755bcd3722
Restore trailing newline character at the end of the file.
2003-01-23 17:18:20 +00:00
Paul Green
1985aa9666
Mentioned the fact that config.sub and config.guess got updated.
2003-01-22 22:59:35 +00:00
Paul Green
f4663a36da
Updated config.sub and config.guess to latest revision.
2003-01-22 22:24:53 +00:00
Wayne Davison
521e6fdcfc
Mention test-case fixes.
2003-01-21 20:25:44 +00:00
Wayne Davison
61ab574e38
Moved the chown from the download test to the upload test.
2003-01-21 20:19:53 +00:00
Wayne Davison
660cb6a085
Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
...
can, and don't fail if we can't).
2003-01-21 20:19:53 +00:00
Wayne Davison
4274208833
Chown the $TO and $FROM directories to $RSYNCD_UID:$RSYNCD_GID (if we
...
can, and don't fail if we can't).
2003-01-21 19:30:51 +00:00
Wayne Davison
34db05b421
Put the UID and GID that rsyncd will run as into variables.
2003-01-21 19:28:29 +00:00
Wayne Davison
1657be22a3
Separated a cat "..." command out from inside a double-quoted string
...
so that we don't run afoul of some shells quoting quirks. (As Brian
Poole suggested.)
2003-01-21 19:27:11 +00:00
David Dykstra
3636b9ffaa
Change the name on the --modify-window default for Cygwin to Lapo Luchini.
2003-01-21 14:22:49 +00:00
David Dykstra
e3cd264571
Change version to working version 2.5.6pre3cvs
2003-01-21 04:23:43 +00:00
David Dykstra
69555b0943
Change version to 2.5.6pre2
2003-01-21 04:00:56 +00:00
Wayne Davison
522c05cf9a
Declare preserve_perms for latest syscall.o.
2003-01-21 01:35:23 +00:00
David Dykstra
f0b4fdaf5e
Ignore errors from chmod when --preserve-perms/-p/-a are not set.
...
Gnu cp behaves the same way.
2003-01-21 00:58:50 +00:00
Wayne Davison
ac6ce98375
Added a couple missing NEWS items.
2003-01-20 23:49:22 +00:00
David Dykstra
1b3cadaa39
Re-activate the piece of code that creates intervening directories
...
when --relative-paths is used. The code was accidentally skipped starting
in CVS version 1.32 of receiver.c. Noticed by Craig Barratt.
2003-01-20 23:32:17 +00:00
David Dykstra
61ca7d596c
Update description of hosts allow for IPv6. From Bert Vermeulen.
2003-01-20 23:10:22 +00:00
David Dykstra
688d573295
Make the default for --modify-window be 2 on cygwin.
2003-01-20 23:09:24 +00:00
Wayne Davison
ec6e0bf0c0
Backed out Paul Green's IRIX patch since it didn't seem to be a part of
...
the Makefile fix and I like the old EXE syntax better.
2003-01-20 18:26:14 +00:00
David Dykstra
184dede92f
Save the value of the test for getaddrinfo defines in the config cache.
2003-01-20 17:25:26 +00:00
David Dykstra
d2cc0323fb
Also need to include lib/getnameinfo when the getaddrinfo defines don't exist.
2003-01-20 16:59:18 +00:00
David Dykstra
3a1eefd331
Oops, lib/getaddrinfo wasn't pulled in when the system doesn't define
...
AI_PASSIVE.
2003-01-20 16:27:34 +00:00
David Dykstra
824f1c7944
Only look for a system getaddrinfo/getnameinfo if AI_PASSIVE is defined
...
by system headers. This fixes compile errors on Irix 6.5.
2003-01-20 15:04:16 +00:00
David Dykstra
7bc8218d81
Fix bug that causes messages like
...
rsync: stack overflow in function match_address
on openbsd. Patch from Brian Poole <raj@cerias.purdue.edu >.
2003-01-20 13:46:28 +00:00
David Dykstra
a405cda63c
Add unsafe-byname tests with symlink destinations ending in '..'.
2003-01-20 12:42:42 +00:00
Wayne Davison
7afa3a4a48
Optimized unsafe_symlink() to avoid malloc/free calls.
2003-01-19 21:37:11 +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
ef6122c622
Got rid of trailing whitespace and tweaked a few things that might
...
possibly be affecting the IRIX build (but probably not).
2003-01-18 19:11:55 +00:00
Wayne Davison
75fb17b891
Define DBL_EPSILON if it doesn't exist.
2003-01-18 19:00:07 +00:00
Wayne Davison
2abbf2498f
Trying out Paul Green's IRIX patch to see if it fixes the syntax
...
error in the Makefile.
2003-01-18 18:52:50 +00:00
Wayne Davison
b91b50c01f
Fixed the bug in clean_flist() where it did not get rid of all duplicate
...
names if there were more than 2 identical names in a row.
2003-01-18 18:00:23 +00:00
David Dykstra
06891710f2
Change rsync help for -a to show that it is equivalent to -rlptgoD.
...
I've had to go to the man page many times for that information and I
finally got sick of it.
2003-01-16 21:02:43 +00:00
David Dykstra
b765ec32b9
Prevent infinite recursion in exit_cleanup(). Patch from Sviatoslav Sviridov.
2003-01-16 20:09:31 +00:00
Wayne Davison
a70d070cc5
Make unsafe_symlink() take const args so that we don't get any
...
compiler warnings when calling it with a const char *.
2003-01-15 17:49:44 +00:00
David Dykstra
1f1fbe187e
Add news item about fix of --copy-unsafe-links
2003-01-15 16:41:51 +00:00
David Dykstra
fc63847406
Fix bug in --copy-unsafe that made it totally broken, and re-enable
...
the tests that tested it. As far as I can tell, it was always broken
since the day I put it in years ago. In my investigation into this I
was unable to figure out what in the world I was thinking back then,
to introduce a global variable with the wrong information in it rather
than using a parameter that was already available in readlink_stat
function. That still bothers me a bit but I decided to stop worrying
about it.
2003-01-15 16:14:07 +00:00
David Dykstra
f58677d123
Don't use the return value from sprintf because it doesn't work on Sunos4.
2003-01-14 21:37:08 +00:00
David Dykstra
7ab1538861
Now that the 2.5.6pre1 snapshot has been made, change the version to
...
2.5.6pre2cvs.
2003-01-13 17:21:12 +00:00
David Dykstra
7ad0f94de9
Change version to 2.5.6pre1
2003-01-13 16:40:15 +00:00
Wayne Davison
8af534a52c
Changed the alloca warning message.
2003-01-12 22:45:47 +00:00