mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 04:51:58 -04:00
- fixed file time bug
- doc updates
This commit is contained in:
1 parent
5be59dc5b2
commit
d89322c446
5 files changed
+9
-10
No files matched your search
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user