aboutsummaryrefslogtreecommitdiffstats
path: root/hlink.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - No need to check S_ISREG() on files already in the hlink_list.Wayne Davison2004-01-081-18/+10
| | | | | | - The realloc in init_hard_links() might fail if the list is empty (which can happen if there are no regular files in the transfer). I changed the code to free the list in that case.
* Change hlink_list so we only have a list of pointers toJ.W. Schultz2004-01-071-24/+36
| | | | file_struct instead of a copy of the file_struct list.
* Optimized hard_link_one() to not call f_name() so many times.Wayne Davison2004-01-021-19/+13
|
* Merged in the security fixes from 2.5.7.Wayne Davison2003-12-061-3/+1
|
* DocMartin Pool2002-03-251-0/+2
|
* Hm, strange off-by-one bug.Martin Pool2002-03-251-1/+1
|
* If we discover a hardlink with -vv say what it's a link to.Martin Pool2002-03-251-1/+6
|
* Doc.Martin Pool2002-01-231-2/+7
| | | | | do_hard_links() actually only looks at the global hardlink table, so it can be a (void) fn. (Another gcc warning...)
* AutoindentMartin Pool2002-01-111-66/+84
| | | | Add copyright
* When a file cannot be deleted because of ETXTBSY (in particular, when anDavid Dykstra1999-03-111-1/+1
| | | | | executable is busy on HPUX), rename it instead to .rsyncNNN. Most of the code was submitted by Ketil Kristiansen <ketil-k@osc.no>
* for consistency use memcpy/memset everywhere instead of bcopy/bzeroAndrew Tridgell1998-06-181-1/+1
|
* some large systematic changes to make socket conversion easier. TheAndrew Tridgell1998-05-071-4/+3
| | | | biggest one is the use of rprintf() instead of fprintf()
* added support for 64 bit file offsets under Solaris 2.6. Not testedAndrew Tridgell1998-05-061-1/+1
| | | | yet.
* a few code cleanupsAndrew Tridgell1998-04-131-38/+46
|
* fixed a bug in the hlink code - it wasn't taking account of the newAndrew Tridgell1998-04-051-12/+12
| | | | pointer list code for flist.
* added wrappers around all the system calls that can change what is onAndrew Tridgell1998-03-231-3/+3
| | | | disk. The wrappers check for dry_run.
* finished 64 bit file offset support. Hopefully rsync can now transferAndrew Tridgell1998-03-231-3/+3
| | | | | | | | | | | | | files up to 2^64 bytes in size. Now I just need to find enough disk space to test this :-) The 64 bit offset code only works if off_t is 64 bits (or bigger!) on both ends of the link. If one end tries to send a file greater than 2^31 in size and the other end doesn't support it then rsync will abort. This commit also cleans up some static declarations so they are in a unitinitialised segment to save load time.
* a large change to make rsync much more memory efficient. This is doneAndrew Tridgell1998-03-231-12/+12
| | | | | | | | | | | | in 3 ways: 1) the realloc is done on a list of pointers, not a list of structures 2) only the basename of the file is now kept in the file struct an a util function f_name() is now used to access the full name when required. 3) pointers to directory names are re-used hopefully I haven't broken anything. This will need lots of testing.
* *** empty log message ***Andrew Tridgell1998-01-011-1/+4
|
* - fixed spelling errors in man pageAndrew Tridgell1997-12-281-7/+7
| | | | | | - fixed bug in hard link handling that could lead to spurious hard links. - fixed bug in the string handling in flist.c
* *** empty log message ***Andrew Tridgell1997-12-171-2/+2
|
* - fixed the "write exception" error. I was resetting got_select at theAndrew Tridgell1997-12-161-6/+12
| | | | | | wrong point - fixed a seg fault error in flist.c - only print hlink debug messages when using -v
* - fixed an off by 1 bug in the hard link supportAndrew Tridgell1997-12-151-1/+1
| | | | | - added a note about anonymous cvs access to the source code in the README
* - detect presence of remsh and use it instead of rshAndrew Tridgell1996-10-011-3/+5
| | | | | | | | | | | | | | | | - handle directory ownership and permissions much better. - fix bug where links caused the permissions of files to be set incorrectly - override the default umask in setting file permissions - better handling -o and -D being passed to non-root users - handle rsync to a destination of / - fix the handling of mismatched file types at either end of the link. For example, if the destination is a link and the source is not.
* - hard linksAndrew Tridgell1996-06-301-0/+138
- better sparse handling - FERROR and FINFO