Wayne Davison
5173f99e68
A slight tweak to the conditionalized definition of SIGACTION().
2006-02-03 18:34:09 +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
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
ea26c854af
Added FSOCKERR and MSG_SOCKERR (a sibling-only message).
2006-02-01 19:26:34 +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
8eda7a4bb8
Renamed the PERMS_* defines to ATTRS_* defines.
2006-01-29 20:30:07 +00:00
Wayne Davison
b5c6a6aeeb
Handle separated devices and special files.
2006-01-26 10:38:58 +00:00
Wayne Davison
fc2dd77ec7
One more minor tweak.
2006-01-25 17:34:39 +00:00
Wayne Davison
7b6fa00ff8
Decided to hold off on the potential memory savings of indexed
...
uid/gid pairs until the next release.
2006-01-25 17:10:29 +00:00
Wayne Davison
5e58e3f9cf
The uid & gid are now stored using an id_pair structure.
2006-01-24 19:02:55 +00:00
Wayne Davison
5cb31dcf92
Fixed a problem with the FLAG_* defines.
2006-01-21 20:16:37 +00:00
Wayne Davison
18e1289f27
Defined new FNAME logcode enum (only used on the client side when
...
logging a filename).
2006-01-14 20:26:17 +00:00
Wayne Davison
0ee6ca9800
Got rid of calls to the (soon to vanish) safe_fname() function.
2006-01-13 22:06:31 +00:00
Wayne Davison
685517abd1
Added MATCHFLG_WILD3_SUFFIX define, shuffling a few others to put
...
it in a nice spot.
2006-01-02 17:46:09 +00:00
Wayne Davison
7987ece7cc
The ITEM_NO_DEST_AND_NO_UPDATE define is no longer needed.
2005-12-15 22:59:59 +00:00
Wayne Davison
24787acd08
Moved the DEL_* flags into generator.c.
2005-11-12 20:30:40 +00:00
Wayne Davison
699f7024f1
Added XFLG_ABS_IF_SLASH.
2005-10-07 18:38:25 +00:00
Wayne Davison
ea8291d8f7
Include limits.h (if it exists), which defines NAME_MAX on some
...
systems.
2005-09-21 17:38:44 +00:00
Wayne Davison
a22ca88565
Define BIGPATHBUFLEN -- a roomy line-buffer that can hold a
...
MAXPATHLEN string plus a message, and it's at least 4096+1024
bytes for those systems where MAXPATHLEN is overly short.
2005-07-29 18:31:03 +00:00
Wayne Davison
c296031d9f
Added MAX_SERVER_ARGS.
2005-05-03 17:00:47 +00:00
Wayne Davison
5b6281afcf
Got rid of ITEM_DUMMY_BIT.
2005-04-14 01:46:08 +00:00
Wayne Davison
9a929c8f68
- Don't define HAVE_READLINK unless HAVE_READLINK is defined.
...
- Don't define SUPPORT_HARD_LINKS unless HAVE_LINK is defined.
2005-04-10 06:24:14 +00:00
Wayne Davison
aea4bf2894
Chaging ITEM_UNUSED back to ITEM_DUMMY_BIT for now -- we'll need
...
to get rid of it later on.
2005-03-28 17:08:47 +00:00
Wayne Davison
855ef72f3f
Changed ITEM_DUMMY_BIT to ITEM_UNUSED.
2005-03-27 05:58:40 +00:00
Wayne Davison
6d0e5d2e62
Added ITEM_DUMMY_BIT and moved a few other 'ITEM_*'s around.
2005-03-15 19:19:36 +00:00
Wayne Davison
3019a9bafd
Changed some of the ITEM_* defines.
2005-03-09 18:53:49 +00:00
Wayne Davison
c2b11ba017
Backed out the hack that reversed ITEM_REPORT_XATTRS with
...
ITEM_TRANSFER. Yes, it allowed some kludge code that made backward
compatibility seamless, but it made it impossible to remove the hack
in the future. This way, the backward compatibility is just
slightly inaccurate in the display of the first letter in the %i
output, and the only hack can be safely removed without causing
problems.
2005-03-06 23:37:42 +00:00
Wayne Davison
ff3d3c32d5
Added IOERR_DEL_LIMIT.
2005-03-05 18:58:29 +00:00
Wayne Davison
e957626347
Swapped the bit-values for ITEM_TRANSFER and ITEM_REPORT_XATTRS.
...
This lets us be more compatible with the earlier pre-releases
with a better heuristic for backward-compatible itemized bits.
2005-03-05 04:34:01 +00:00
Wayne Davison
669e76717c
- Changed ITEM_UPDATING to ITEM_TRANSFER.
...
- Added defines ITEM_HARD_LINKED, ITEM_LOCAL_CHANGE,
ITEM_REPORT_XATTRS, and SIGNIFICANT_ITEM_FLAGS.
- Changed the "next" var in struct hlink into an int.
2005-03-05 00:21:39 +00:00
Wayne Davison
d4d4890d4e
Added ITEM_NO_DEST_AND_NO_UPDATE for use by the generator's
...
itemize() function.
2005-03-03 00:14:32 +00:00
Wayne Davison
8a33c406b3
Trying to fix bug #2357 .
2005-02-22 21:48:10 +00:00
Wayne Davison
5b1c1eefda
Added ITEM_USING_ALT_BASIS.
2005-02-22 21:43:54 +00:00
Wayne Davison
1dcf3b4345
Changed some of the values of the MSG_* defines.
2005-02-19 22:16:31 +00:00
Wayne Davison
9f7c5dabf8
- Got rid of DEL_DIR define.
...
- Added define for ITEM_DELETED.
2005-02-19 02:39:09 +00:00
Wayne Davison
59e52bf276
Tweaked ITEM_MISSING_DATA.
2005-02-16 17:02:02 +00:00
Wayne Davison
0cc279e0d3
- Added the new ITEM_* flags for the itemized-changes flag passing.
...
- Also added defines for FLAG_SENT and MSG_SUCCESS.
2005-02-16 08:10:22 +00:00
Wayne Davison
96a8ca6d98
Had a report that the __attribute__ code needs to check for
...
__APPLE__ being defined, not APPLE.
2005-02-14 22:49:51 +00:00
Wayne Davison
1585958497
The count of chunks should really be an int32, not a size_t,
...
because that's the maximum size we can transmit over the wire.
2005-02-14 08:13:47 +00:00
Wayne Davison
0dd046d36f
Don't check defined-ness of SIZEOF_OFF64_T.
2005-02-14 00:58:10 +00:00
Wayne Davison
4f5b0756df
John E. Malmberg convinced me to standardize on #ifs for defined
...
values instead of non-zero.
2005-02-14 00:53:43 +00:00
Wayne Davison
a427e8938a
- Define MATCHFLG_SENDER_SIDE and MATCHFLG_RECEIVER_SIDE.
...
- Updated MATCHFLGS_FROM_CONTAINER.
2005-02-12 19:52:22 +00:00
Wayne Davison
719bc858b5
Made NS define make use of safe_fname().
2005-02-07 20:39:13 +00:00
Wayne Davison
53b417e414
- Added MATCHFLG_CVS_IGNORE.
...
- Made the match_flags var a uint32.
2005-02-04 21:13:12 +00:00
Wayne Davison
3b2461cf2e
- Got rid of a bunch of XFLG_* options.
...
- Added XFLG_OLD_PREFIXES and MATCHFLGS_FROM_CONTAINER defines.
2005-02-03 19:00:13 +00:00
Wayne Davison
7c8e23bd9f
Added MATCHFLG_NEGATE.
2005-02-03 03:36:55 +00:00
Wayne Davison
ec33e0e6bd
- Changed {XMIT,FLAG}_DEL_START back to {XMIT,FLAG}_TOP_DIR.
...
- Define FLAG_DEL_HERE.
2005-02-03 02:01:14 +00:00
Wayne Davison
f805730493
- Put "basedir" into a union "dir" and named it "root". The other
...
member of the union is "depth".
- Added members "low" and "high" to the file list structure (which
are set when the list is cleaned).
- Got rid of the flist_up() inline function.
2005-02-01 09:21:30 +00:00
Wayne Davison
0121a8ecad
Renamed XFLG_ABS_PATH XFLG_ANCHORED2ABS.
2005-01-29 20:48:23 +00:00
Wayne Davison
5b5f7e3b59
- Use off_t if SIZEOF_OFF_T is 8.
...
- Define USE_STAT64_FUNCS if we defined STRUCT_STAT as
"struct stat64".
2005-01-28 20:32:47 +00:00