- fixed file time bug

- doc updates
This commit is contained in:
Andrew Tridgell committed 1996-07-03 06:24:34 +00:00
1 parent 5be59dc5b2
commit d89322c446
5 files changed
+9 -10

No files matched your search

+3 -3
View File
@@ -44,10 +44,10 @@ Here is a brief description of available options:
-C, --cvs-exclude auto ignore files in the same way CVS does
--delete delete files that don't exist on the sending side
-I, --ignore-times don't exclude files that match length and time
-z, --compress compress file data
--exclude FILE exclude file FILE
--exclude-from FILE exclude files listed in FILE
--suffix SUFFIX override backup suffix
--csum-length LENGTH set the checksum length
--version print version number
@@ -57,8 +57,8 @@ SETUP
Rsync uses rsh or ssh for communication. It does not need to be setuid
and requires no special privilages for installation. It does not
require a inetd entry or a daemon. You must, however, have a working
rsh or ssh system. Using ssh is recommended for its security and
compression features.
rsh or ssh system. Using ssh is recommended for its security
features.
To install rsync, first run the "configure" script. This will create a
Makefile and config.h appropriate for your system. Then type
+2 -2
View File
@@ -110,7 +110,7 @@ void send_file_entry_v11(struct file_struct *file,int f)
if (l1 > 0) flags |= SAME_NAME;
if (l2 > 255) flags |= LONG_NAME;
write_byte(f,flags);
if (flags & SAME_NAME)
write_byte(f,l1);
@@ -165,7 +165,7 @@ void send_file_entry_v11(struct file_struct *file,int f)
void receive_file_entry_v11(struct file_struct *file,
unsigned char flags,int f)
{
static mode_t last_time=0;
static time_t last_time=0;
static mode_t last_mode=0;
static dev_t last_rdev=0;
static uid_t last_uid=0;
+3 -3
View File
@@ -151,9 +151,9 @@ void read_buf(int f,char *buf,int len)
unsigned char read_byte(int f)
{
char c;
read_buf(f,&c,1);
return (unsigned char)c;
unsigned char c;
read_buf(f,(char *)&c,1);
return c;
}
-1
View File
@@ -405,7 +405,6 @@ static void usage(FILE *f)
fprintf(f," --exclude FILE exclude file FILE\n");
fprintf(f," --exclude-from FILE exclude files listed in FILE\n");
fprintf(f," --suffix SUFFIX override backup suffix\n");
fprintf(f," --csum-length LENGTH set the checksum length\n");
fprintf(f," --version print version number\n");
fprintf(f,"\n");
+1 -1
View File
@@ -1 +1 @@
#define VERSION "1.4.5"
#define VERSION "1.5.0"