Wayne Davison
2fb450bd99
Fixed a hang.
2006-02-02 22:34:30 +00:00
Wayne Davison
4ea58045e2
Moved the potential disabling of __attribute__ above the
...
relocated UNUSED() define.
2006-02-02 22:24:33 +00:00
Wayne Davison
29433538ff
Tweaked a couple lines in the code that handles --version.
2006-02-02 11:40:32 +00:00
Wayne Davison
d382140904
Changed default logfile setting from /var/adm/rsyncd.log to
...
/var/log/rsyncd.log.
2006-02-02 10:20:13 +00:00
Wayne Davison
b8e9c234e6
Changed sig_int() to use a standard signal-handler prototype.
2006-02-02 02:39:40 +00:00
Wayne Davison
60ee01f517
- Call SIGACTION() instead of signal().
...
- Umask all the signals we need using sigprocmask() (if available).
2006-02-02 02:39:29 +00:00
Wayne Davison
2b28968dfb
Call SIGACTION() instead of signal().
2006-02-02 02:39:25 +00:00
Wayne Davison
90b13cf606
- Moved definition of UNUSED() above inclusion of proto.h.
...
- Replaced definition of SIGNAL_CAST with new SIGACTION() define,
which will use sigaction() if it is available, else signal().
2006-02-02 02:39:19 +00:00
Wayne Davison
d81894fc21
Added checks for sigaction() and sigprocmask().
2006-02-02 02:32:39 +00:00
Wayne Davison
f5cbae9329
Look for public functions that return RETSIGTYPE.
2006-02-02 02:29:30 +00:00
Wayne Davison
7a6653bc6c
Ignore the --quiet option if someone sent it to us (which doesn't
...
happen when talking to a normal client).
2006-02-01 19:36:37 +00:00
Wayne Davison
72f2d1b384
When complaining about a socket-read problem, use an FSOCKERR
...
code instead of a normal FERROR. The generator is the only
process that will receive this, and it uses it to close down
the multi-I/O over the socket so that it won't ever hang trying
to write an error down a dead socket.
2006-02-01 19:35:17 +00:00
Wayne Davison
b66e31bf15
Turn an FSOCKERR into a normal FERROR if it's not going to our
...
sibling.
2006-02-01 19:33:12 +00:00
Wayne Davison
ea26c854af
Added FSOCKERR and MSG_SOCKERR (a sibling-only message).
2006-02-01 19:26:34 +00:00
Wayne Davison
ef1f62807e
We should be using wait_process(), not waitpid() directly.
2006-02-01 19:25:34 +00:00
Wayne Davison
d8aeda1e50
Changed a few "ret" variables to have better names.
2006-02-01 19:24:28 +00:00
Wayne Davison
07efba8ec0
The itemize() output now mentions -E permissions changes.
2006-01-31 06:25:46 +00:00
Wayne Davison
2959fe7447
Mention the --executability option.
2006-01-31 03:40:22 +00:00
Wayne Davison
4601589720
Another help-text tweak.
2006-01-31 03:11:07 +00:00
Wayne Davison
9f8225566e
Moved where --chmod was listed.
2006-01-31 03:05:24 +00:00
Wayne Davison
5e65c96705
Moved --chmod in the help output.
2006-01-31 03:04:00 +00:00
Wayne Davison
a9d6e6fcac
When permissions aren't being preserved, set them via the new
...
dest_mode() function.
2006-01-31 02:30:09 +00:00
Wayne Davison
860dcf68ad
Got rid of the orig_umask-based file->mode tweak in receive_file()
...
(which got moved into the dest_mode() function).
2006-01-31 02:30:05 +00:00
Wayne Davison
812848323b
Added the dest_mode() function: it figures out the permissions for
...
a file when we aren't preserving permissions, including the honoring
of the new --executability option.
2006-01-31 02:30:02 +00:00
Wayne Davison
344f9ba7fa
Added the --executability (-E) option.
2006-01-31 02:29:58 +00:00
Wayne Davison
2d5279ac9a
Documented the new --executability (-E) option, with improvements
...
to the --perms and --chmod sections as well.
2006-01-31 02:29:55 +00:00
Wayne Davison
fa3e4a0548
Mention the chmod utility's manpage number.
2006-01-31 02:26:49 +00:00
Wayne Davison
656c20715e
Mention that --chmod's work can still be masked by the receiving
...
end's umask when permissions are not being preserved.
2006-01-30 22:10:33 +00:00
Wayne Davison
a72885e042
Mention files-to-excludes.
2006-01-30 21:54:00 +00:00
Wayne Davison
b587adda1f
This perl script automates the conversion of a list of pathnames
...
to a set of includes/excludes needed for rsync to copy just the
listed files.
2006-01-30 21:52:17 +00:00
Wayne Davison
50fd4832c2
Mentioned the new "outgoing chmod" daemon option.
2006-01-30 21:47:23 +00:00
Wayne Davison
c094d9320d
Documented the new "outgoing chmod" daemon option.
2006-01-30 21:47:08 +00:00
Wayne Davison
aaccaa887d
Added support for the new "outgoing chmod" daemon option.
2006-01-30 21:47:02 +00:00
Wayne Davison
5481e42cd6
Mentioned the early-EOF bugfix (which was fixed a while ago).
2006-01-30 20:09:46 +00:00
Wayne Davison
b3964d1d86
Improved the documentation for --force.
2006-01-30 18:46:17 +00:00
Wayne Davison
e35d9f2d6d
I realized that there were instances where --force could still be
...
required to be combined with a delete option (if a non-dir was
overwriting a dir in a directory that was not included in the
transfer), so I extended the change I just made for --delete-after
to include all delete modes.
2006-01-30 18:45:57 +00:00
Wayne Davison
4d16780366
Allow --force to work even if --recurse was not specified.
2006-01-30 18:35:54 +00:00
Wayne Davison
1661fe9b0c
Made get_dirlist() always include directories.
2006-01-30 18:32:47 +00:00
Wayne Davison
63344ad4e1
Mention the latest improvements.
2006-01-30 18:19:55 +00:00
Wayne Davison
90cf7d199f
Allow a non-empty dir to be overwritten by a non-dir with all the
...
delete options (--delete-after used to require --force).
2006-01-30 18:14:02 +00:00
Wayne Davison
730df9d222
If the module has defined an "incoming chmod" option, call
...
parse_chmod() on it.
2006-01-30 17:53:38 +00:00
Wayne Davison
882d8c1cab
Added the "incoming chmod" config option.
2006-01-30 17:53:32 +00:00
Wayne Davison
17af842d2d
Document the new "incoming chmod" config option.
2006-01-30 17:53:27 +00:00
Wayne Davison
bbe42182df
Call the parse_chmod() with its new syntax.
2006-01-30 17:53:19 +00:00
Wayne Davison
81b096feef
Changed the way the parse_chmod() function is called.
2006-01-30 17:53:13 +00:00
Wayne Davison
7627e92c54
Added extern for io_write_phase.
2006-01-30 17:39:43 +00:00
Wayne Davison
f7bce90cf0
- Got rid of the externs for io_read_phase and io_write_phase.
...
- Added stub definition for chmod_mode_struct.
2006-01-30 17:39:34 +00:00
Wayne Davison
b33ce4c800
Moved the filter_outfile() function to rsync.fns.
2006-01-30 08:12:17 +00:00
Wayne Davison
757287d8a5
Moved the filter_outfile() function here since it was identical
...
in devices.test and itemize.test.
2006-01-30 08:11:50 +00:00
Wayne Davison
3ed8eafccb
The robust_rename() function now takes a "partialptr" arg that, if
...
non-NULL, will be used if we are forced to copy the file.
2006-01-30 07:18:16 +00:00