search for: file_checksum2

Displaying 2 results from an estimated 2 matches for "file_checksum2".

Did you mean: file_checksum
2002 Jan 07
0
rsync-2.5.1 / lib patches
...1,3 +1,4 @@ +/* Converted by prj_src:unix_c_to_vms_c.tpu on 6-JAN-2002 08:42:14.63 OPENVMS_ AXP */ /* Unix SMB/Netbios implementation. Version 1.9. @@ -209,7 +210,11 @@ } #if 0 +#ifdef __VMS +#include "md4.h" +#else #include "../md4.h" +#endif static void file_checksum2(char *fname) {
2002 Feb 20
2
[PATCH] rsync on cygwin - textmode config files
...void file_checksum1(char *fname) struct mdfour md; unsigned char buf[64*1024], sum[16]; - fd = open(fname,O_RDONLY); + fd = open(fname,O_RDONLY +#ifdef __CYGWIN__ + | O_BINARY +#endif + ); if (fd == -1) { perror("fname"); exit(1); @@ -217,7 +221,12 @@ static void file_checksum2(char *fname) MDstruct md; unsigned char buf[64], sum[16]; - fd = open(fname,O_RDONLY); + fd = open(fname,O_RDONLY + fd = open(fname,O_RDONLY +#ifdef __CYGWIN__ + | O_BINARY +#endif + ); if (fd == -1) { perror("fname"); exit(1); diff -Naur --show-c-function --exclu...