Wayne Davison
a7ceddae34
Changed check_exclude()'s prototype.
2004-04-22 09:58:11 +00:00
Wayne Davison
24e1569f8b
The debug output for add_exclude() now needs to limit the pattern to
...
print only "pat_len" chars.
2004-04-22 08:41:03 +00:00
Wayne Davison
de31639fff
A couple minor text improvements.
2004-04-19 17:52:39 +00:00
Wayne Davison
8b46340924
Mentioned the better handling of option paths when a daemon is not
...
running with chroot enabled.
2004-04-18 06:29:06 +00:00
Wayne Davison
d008bcb5cd
Made the device-changes section agree with the latest code.
2004-04-17 19:58:12 +00:00
Wayne Davison
0484b5b0b7
Preparing for release of 2.6.1pre-2
v2.6.1pre2
2004-04-17 18:40:16 +00:00
Wayne Davison
f01b6368a5
Mention that --from0 does not affect --cvs-exclude's reading of the
...
.cvsignore files.
2004-04-17 18:12:33 +00:00
Wayne Davison
40d38dc0be
In add_exclude_file(), if we're word-splitting, stop reading a "line"
...
at any whitespace (so that we don't overflow the line buffer).
2004-04-17 17:55:45 +00:00
Wayne Davison
33a2361cc2
The inode and dev values in the idev struct are now uint64.
2004-04-17 17:14:16 +00:00
Wayne Davison
4124540d61
Changed the dev handling for -H back to using an opaque 64-bit
...
integer instead of trying to transfer it as separate major & minor
values. Since the value is not interpreted by the receiving side
(just compared for equality), this is a safer way to go.
2004-04-17 17:14:12 +00:00
Wayne Davison
5f38126817
Use "uint64" instead of INO64_T (which is now gone).
2004-04-17 17:07:23 +00:00
Wayne Davison
b05b3c9b48
Fixed alloc_sanitize_path()'s handling of a rootdir == "/" (the old
...
code would generate a string that started with "//" instead of "/").
2004-04-17 17:06:03 +00:00
Wayne Davison
a03a9f4efe
Don't say "skipped" if the file is just not being transferred (i.e.
...
when other updates, such as owner/permissions/etc. might be made).
2004-04-15 18:32:24 +00:00
Wayne Davison
3e55030372
Mention exclude improvements.
2004-04-15 18:23:52 +00:00
Wayne Davison
273c0420d0
Got rid of a couple useless lines.
2004-04-15 18:22:56 +00:00
Wayne Davison
5774786fa5
Moved some externs.
2004-04-15 16:55:23 +00:00
Wayne Davison
1a9ec1fd1c
Got rid of zlib/dummy ("dummy" is in the zlib .cvsignore, where it
...
should be).
2004-04-15 06:54:14 +00:00
Wayne Davison
b2aa573b1c
Our exclude lists are now comprised of a base structure with a head
...
and a tail pointer pointing to a linked list of items (rather than
an array of pointers that has to be reallocated all the time).
2004-04-14 23:33:40 +00:00
Wayne Davison
63d0331991
Added a "next" pointer to "exclude_struct" and added a new structure
...
for exclude lists, exclude_list_struct, that holds the head/tail
pointers for the list.
2004-04-14 23:33:37 +00:00
Wayne Davison
bf6dcd1713
Updated the exclude-list code to handle the new linked-list
...
structure format.
2004-04-14 23:33:34 +00:00
Wayne Davison
495723bb26
Updated the exclude-list code to handle the new linked-list
...
structure format.
2004-04-14 23:33:34 +00:00
Wayne Davison
911cb0662c
Updated stub version of check_exclude().
2004-04-14 22:49:54 +00:00
Wayne Davison
5387514eaf
Added a description arg to check_exclude().
2004-04-14 21:59:45 +00:00
Wayne Davison
61414c83ce
The check_exclude() and report_exclude_result() functions now take a
...
description string that describes what kind of an include/exclude is
happening (which only gets output when verbose is set to 2 or more).
2004-04-14 21:59:41 +00:00
Wayne Davison
43a9d0e7c2
Improved the exclude testing by adding tests that exercise --cvs-exclude
...
and --delete-excluded.
2004-04-14 20:50:32 +00:00
Wayne Davison
df5cd107a5
Moved (and expanded) a verbose message from clientserver.c to socket.c
...
to solve an old FIXME comment.
2004-04-14 16:51:48 +00:00
Wayne Davison
abca4eba67
Fixed a potential problem parsing the "!" token from a word-split string.
2004-04-13 19:07:21 +00:00
Wayne Davison
96d3590a08
A few more improvements to get_exclude_tok() and add_exclude().
2004-04-13 18:35:08 +00:00
Wayne Davison
8429aa9e0e
Added an example for --link-dest.
2004-04-13 00:32:58 +00:00
Wayne Davison
79d4053048
Updated with latest news and some spelling mistakes corrected.
2004-04-12 18:03:08 +00:00
Wayne Davison
753b6b4692
Replaced MISSING_OK, MISSING_FATAL, ADD_INCLUDE, and ADD_EXCLUDE with
...
some new XFLG_* values (for the add_exclude*() function).
2004-04-12 17:42:35 +00:00
Wayne Davison
f8f726449b
- add_exclude() now takes a flag int and can optionally word-split
...
items and/or ignore +/- prefixes.
- add_exclude_file() changed to take the same flags as add_exclude().
- add_exclude_line() was removed since add_exclude() can now do its job.
- make_exclude() now takes a size-limited string without a +/- prefix.
- add_cvs_excludes() was changed to word-split the items that come from
a .cvsignore file, and to ignore all +/- prefixes in all the ignore
sources. Since CVS doesn't check if its ignore items are directories,
the dir-names (e.g. SCCS, CVS, etc.) no longer have a trailing slash
(making our excludes match CVS's ignores more exactly).
2004-04-12 17:42:32 +00:00
Wayne Davison
357406ecb2
Use the new XFLG_* flags to call the add_exclude*() functions.
2004-04-12 17:42:29 +00:00
Wayne Davison
3915fd7583
No need to cast st.st_rdev to DEV64_T anymore.
2004-04-12 16:52:43 +00:00
Wayne Davison
9c5e91f848
- Use dev_t instead of DEV64_T.
...
- Changed rdev_high to rdev_major.
- Use major(), minor(), and makedev() to manipulate device numbers.
- Send the major and minor values separately in protocol 28 and beyond.
2004-04-12 16:52:40 +00:00
Wayne Davison
af107f6c08
- Got rid of DEV64_T and changed the internal device variables to dev_t.
...
- Changed XMIT_SAME_HIGH_RDEV to XMIT_SAME_RDEV_MAJOR.
- Added XMIT_RDEV_MINOR_IS_SMALL.
2004-04-12 16:52:37 +00:00
Wayne Davison
a3dbb20a0e
Fixed a bug where an exclude name that got sent over the wire could get
...
an extra "- " or "+ " parsed off the start of the name (i.e. we have to
quote excluded names that start with those strings with an extra "- "
at the start).
2004-04-10 10:31:11 +00:00
Wayne Davison
a3779426b6
UNUSED() misbehaves on HP-UX, not AIX.
2004-04-09 22:25:33 +00:00
Wayne Davison
2f5ca63d92
AIX doesn't like our UNUSED() macro, so let's eliminate it for them.
2004-04-09 21:51:34 +00:00
Wayne Davison
0e1d98ae92
Silence compiler warnings on Solaris.
2004-04-09 20:22:44 +00:00
Wayne Davison
04575bcab5
Missed one void-pointer-arithmetic case.
2004-04-09 20:17:01 +00:00
Wayne Davison
71b291d71b
AIX's cc was complaining about the void* arithmetic.
2004-04-09 19:53:50 +00:00
Wayne Davison
decba3ae73
Removed debug code.
2004-04-09 19:18:34 +00:00
Wayne Davison
f8ed564c9f
Changed sysmacros.h to sys/sysmacros.h.
2004-04-09 19:04:03 +00:00
Wayne Davison
47ba39bef6
Added some test code to assist in the remote debugging of the build
...
farm's Solaris machines.
2004-04-09 18:36:01 +00:00
Wayne Davison
71f7051489
Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS.
2004-04-09 18:10:03 +00:00
Wayne Davison
3c3791e8be
Use AC_HEADER_MAJOR for better makedev/major/minor determination.
2004-04-09 18:09:16 +00:00
Wayne Davison
c39d6514ab
Include <sys/mkdev.h> if it exists.
2004-04-09 17:59:50 +00:00
Wayne Davison
1cb6f3bf4d
Added sys/mkdev.h to the searched-for headers.
2004-04-09 17:56:58 +00:00
Wayne Davison
f09dc86ab6
Added a couple extra character devices to be copied.
2004-04-09 00:36:45 +00:00