Wayne Davison
|
e106de49c8
|
Tweaked the O_BINARY code to the latest idiom.
|
2003-03-30 23:00:51 +00:00 |
|
Wayne Davison
|
855decd3a7
|
Added back the O_BINARY #ifdef.
|
2003-01-26 20:09:02 +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
|
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 |
|
Martin Pool
|
c127e8aaec
|
Add a test case for trim_trailing_slashes, and make it handle other cases.
|
2002-03-25 03:51:17 +00:00 |
|
Martin Pool
|
bf4e725d5d
|
Code that was meant to trim trailing slashes from mkdir() paths
actually did not; fix it.
|
2002-03-25 03:29:47 +00:00 |
|
Martin Pool
|
ded8347d6b
|
Cope with BSD systems on which mkdir() will not accept a trailing
slash.
<http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
|
2002-02-18 22:44:23 +00:00 |
|
Martin Pool
|
25f2cb3d6b
|
Fix for <http://rsync.samba.org/cgi-bin/rsync/incoming?id=3750>
temp files must be opened through do_open so that binary modes is used
on cygwin. (Chris Boucher)
|
2002-01-14 00:16:51 +00:00 |
|
Andrew Tridgell
|
f62c17e378
|
use mkstemp on systems where it is secure
|
2001-05-02 08:33:18 +00:00 |
|
Martin Pool
|
18c71e96f8
|
Doc.
|
2001-02-23 01:45:46 +00:00 |
|
Andrew Tridgell
|
b0f3f5784c
|
open on paths starting with // fails on win32
|
2000-01-23 03:00:27 +00:00 |
|
David Dykstra
|
3420c8e6e0
|
Fixed bug introduced by calling do_open() for O_RDONLY files. Changed it
so the check for dry_run and CHECK_RO are not done when flags is O_RDONLY.
Only do the adding of O_BINARY, which was the intention.
|
1999-11-04 15:43:38 +00:00 |
|
Andrew Tridgell
|
2b086e033c
|
paranoia change - treat list_only like read_only and refuse all
syscalls that might change the filesystem. This shouldn't be needed,
but I like paranoid coding :)
|
1998-12-05 01:56:45 +00:00 |
|
David Dykstra
|
a926daecbf
|
Always add the O_BINARY flag in do_open if it is defined, for Windows.
Suggestion from Mart.Laak@hansa.ee
|
1998-11-24 19:10:21 +00:00 |
|
Andrew Tridgell
|
bb0f7089fe
|
check for munmap as well as mmap. NextStep only has mmap in standard
libs
|
1998-05-26 14:18:59 +00:00 |
|
Andrew Tridgell
|
754d120c98
|
use mmap() for files of any size. This should be much more buffer
cache friendly.
|
1998-05-21 05:52:37 +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
|
f28ee65baa
|
damn solaris doesn't prototype it's functions correctly. grrr.
|
1998-05-06 07:35:37 +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
|
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
|
1b2d733af2
|
a couple more system calls wrapped in syscall.c
|
1998-04-05 06:26:24 +00:00 |
|
Andrew Tridgell
|
f92ef572b9
|
check a few HAVE_* macros
|
1998-03-24 06:42:11 +00:00 |
|
Andrew Tridgell
|
7308bd66e0
|
added chmod() and chown() to syscall.c
|
1998-03-24 06:39:16 +00:00 |
|
Andrew Tridgell
|
31e125226d
|
added wrappers around all the system calls that can change what is on
disk. The wrappers check for dry_run.
|
1998-03-23 13:25:30 +00:00 |
|