Re: [Code study]append_mode definitions

2009-04-27 Thread Wayne Davison
On Mon, Apr 27, 2009 at 10:33:02AM +0800, Daniel.Li wrote: Can anyone help to explain definitions of variable append_mode? There are two different type of appending (see the man page) depending on how new rsync is and how much of the file should be checksummed. The option is also disabled if a

Re: [Code study]append_mode definitions

2009-04-27 Thread Daniel.Li
On Mon, 2009-04-27 at 06:44 -0700, Wayne Davison wrote: On Mon, Apr 27, 2009 at 10:33:02AM +0800, Daniel.Li wrote: Can anyone help to explain definitions of variable append_mode? There are two different type of appending (see the man page) depending on how new rsync is and how much of the

[Code study]append_mode definitions

2009-04-26 Thread Daniel.Li
Dear List, Can anyone help to explain definitions of variable append_mode? I have found this variable is changed in many places, and quite confused. option.c #line549~550 {append-verify,0, POPT_ARG_VAL,append_mode, 2, 0, 0 }, {no-append,0, POPT_ARG_VAL,append_mode,