summaryrefslogtreecommitdiff
path: root/checksum.c
Commit message (Collapse)AuthorAgeFilesLines
* use do_open() instead of open() in several places to help the WinXX portAndrew Tridgell1999-10-251-1/+1
| | | | and O_BINARY
* fixed a bug that made us use only 16 bits of the file checksum whenAndrew Tridgell1999-06-261-1/+1
| | | | comparing checksums for the --checksum (-c) option.
* kfixed char* castsAndrew Tridgell1998-10-291-10/+10
|
* changes to get rsync working on a CRAY J90. This machine doesn't haveAndrew Tridgell1998-10-291-109/+94
| | | | | a 4 byte integer type (short is 8 bytes). I needed to use a new md4 implementation (I used the portable one I wrote for Samba).
* for consistency use memcpy/memset everywhere instead of bcopy/bzeroAndrew Tridgell1998-06-181-8/+8
|
* Solaris 2.6 doesn't support "signed char". What a broken system!Andrew Tridgell1998-05-061-1/+1
|
* added support for 64 bit file offsets under Solaris 2.6. Not testedAndrew Tridgell1998-05-061-3/+3
| | | | yet.
* finished 64 bit file offset support. Hopefully rsync can now transferAndrew Tridgell1998-03-231-2/+2
| | | | | | | | | | | | | 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.
* started to add some 64 bit file offset support - not complete yetAndrew Tridgell1998-03-231-2/+2
|
* damn, I had implicitly assumed signed characters when writing theAndrew Tridgell1997-12-151-1/+2
| | | | | | | | | | rolling checksum code. The result is that rsync worked much more slowly when going between two machines where one of the machines uses signed and the other unsigned chars. The rolling checksum rarely matched so effectively a copy was done in many cases. The data always came through correctly so no file corruption occurred but it's pretty pointless using rsync if it doesn't speed things up! I've now made the sign of the chars explicit
* added CHAR_OFFSETAndrew Tridgell1996-07-041-3/+4
|
* *** empty log message ***Andrew Tridgell1996-07-041-4/+4
|
* *** empty log message ***Andrew Tridgell1996-07-031-0/+6
|
* save some more bytes by making the checksum smallerAndrew Tridgell1996-07-021-19/+5
|
* added seed to file sumAndrew Tridgell1996-07-021-1/+4
|
* added resend logicAndrew Tridgell1996-07-021-3/+53
| | | | added checksum on all files
* *** empty log message ***Andrew Tridgell1996-07-011-2/+2
|
* get byte order of checksum seed rightAndrew Tridgell1996-06-301-3/+3
|
* added checksum seedAndrew Tridgell1996-06-301-9/+19
|
* new exit/cleanup codeAndrew Tridgell1996-06-281-21/+77
|
* added csum-length optionAndrew Tridgell1996-06-271-1/+5
|
* Initial revisionAndrew Tridgell1996-06-221-0/+78