Wayne Davison [Fri, 7 May 2004 00:18:37 +0000 (00:18 +0000)]
Document the -4, -6, --ipv4, --ipv6 options.
Wayne Davison [Thu, 6 May 2004 21:29:36 +0000 (21:29 +0000)]
Correct a typo.
Wayne Davison [Thu, 6 May 2004 21:26:46 +0000 (21:26 +0000)]
- Updated the comments for open_socket_in().
- Changed open_socket_in() to return an array of ints with a trailing -1
value to indicate the end of the list.
- Use the out_of_memory() routine to complain about no memory.
- Undid the recent IPV6_V6ONLY change, as I think it would prevent the
use of IPv6 sockets on some older systems.
- If we get an EADDRINUSE error and this is not the first socket in the
list, suggest that the user try --ipv4 or --ipv6.
- When forking, the child now closes all the open bound sockets, not just
one of them (I'm not talking about the fd from accept(), obviously).
Wayne Davison [Thu, 6 May 2004 21:08:01 +0000 (21:08 +0000)]
Introduced long-option names for -4 and -6.
Wayne Davison [Wed, 5 May 2004 22:17:48 +0000 (22:17 +0000)]
If we need to set IPV6_V6ONLY but setsockopt() fails, close the
socket and skip it.
Wayne Davison [Wed, 5 May 2004 17:15:03 +0000 (17:15 +0000)]
Added missing extern for read_batch.
Wayne Davison [Wed, 5 May 2004 16:23:49 +0000 (16:23 +0000)]
Don't force the whole-file option when using read-batch.
Wayne Davison [Tue, 4 May 2004 03:10:45 +0000 (03:10 +0000)]
Calls to make_bak_dir() should only happen when we fail to create a
file/dir/etc. with errno == ENOENT.
Wayne Davison [Mon, 3 May 2004 01:24:10 +0000 (01:24 +0000)]
A slight refinement to my last patch.
Wayne Davison [Mon, 3 May 2004 01:18:07 +0000 (01:18 +0000)]
Fixed crash bug that can affect --delete in certain circumstances.
Wayne Davison [Sun, 2 May 2004 17:04:14 +0000 (17:04 +0000)]
Got rid of a TODO comment that was fixed long ago.
Wayne Davison [Sun, 2 May 2004 16:52:52 +0000 (16:52 +0000)]
Renamed variable STRIP to INSTALL_STRIP to avoid an accidental match
with an environment variable in OpenBSD.
Wayne Davison [Sun, 2 May 2004 16:34:33 +0000 (16:34 +0000)]
Got rid of trailing comma in an enum.
Wayne Davison [Fri, 30 Apr 2004 21:10:58 +0000 (21:10 +0000)]
Moved some news items under new headings.
Wayne Davison [Fri, 30 Apr 2004 20:39:29 +0000 (20:39 +0000)]
Changed the order that ssh and rsh are mentioned.
Wayne Davison [Fri, 30 Apr 2004 19:14:52 +0000 (19:14 +0000)]
Additional testing confirmed the limited scope of the sources affected
by the -R sorting bug.
Wayne Davison [Fri, 30 Apr 2004 18:03:33 +0000 (18:03 +0000)]
Preparing for release of 2.6.2
Wayne Davison [Fri, 30 Apr 2004 17:53:51 +0000 (17:53 +0000)]
Mention the last few tweaks that made it into 2.6.2.
Wayne Davison [Fri, 30 Apr 2004 17:38:22 +0000 (17:38 +0000)]
Improved the program that checks for broken large-file locking.
Wayne Davison [Fri, 30 Apr 2004 17:24:49 +0000 (17:24 +0000)]
Don't rely on the local shell's wildcard expansion to make the test
work right -- it might not be quite as compatible as we need.
Wayne Davison [Fri, 30 Apr 2004 16:10:45 +0000 (16:10 +0000)]
Only refer to AI_NUMERICHOST if it is defined.
Wayne Davison [Fri, 30 Apr 2004 15:46:41 +0000 (15:46 +0000)]
Fixed a few typos.
Wayne Davison [Thu, 29 Apr 2004 21:12:46 +0000 (21:12 +0000)]
Mention the desire to improve how a daemon returns errors.
Wayne Davison [Thu, 29 Apr 2004 21:09:33 +0000 (21:09 +0000)]
Describe the changes for 2.6.2.
Wayne Davison [Thu, 29 Apr 2004 20:36:22 +0000 (20:36 +0000)]
Preparing for release of 2.6.2pre1
Wayne Davison [Thu, 29 Apr 2004 19:40:17 +0000 (19:40 +0000)]
Got rid of unused check for sys/sysctl.h.
Wayne Davison [Thu, 29 Apr 2004 19:37:15 +0000 (19:37 +0000)]
Fixed a sorting problem when an entry has an empty (but not NULL)
dirname (which I had thought impossible, but it appears to occur
with --relative in some instances).
Wayne Davison [Thu, 29 Apr 2004 19:34:31 +0000 (19:34 +0000)]
Restore old behavior of logging most daemon errors instead of sending
them to the user. This should eventually be improved to duplicate
some of these messages to the user to keep them informed about what
went wrong.
Wayne Davison [Wed, 28 Apr 2004 17:35:08 +0000 (17:35 +0000)]
Undefined __attribute__ in some circumstances.
Wayne Davison [Wed, 28 Apr 2004 17:31:31 +0000 (17:31 +0000)]
Fixed the use of an uninitialized variable in map_uid() and map_gid().
Wayne Davison [Tue, 27 Apr 2004 19:59:37 +0000 (19:59 +0000)]
In copy_file(), check len < 0 before checking the close() return values.
Wayne Davison [Tue, 27 Apr 2004 19:51:33 +0000 (19:51 +0000)]
Check the return code from close() and output an error if it
fails.
Wayne Davison [Tue, 27 Apr 2004 16:41:33 +0000 (16:41 +0000)]
Got rid of a debug-output statement.
Wayne Davison [Tue, 27 Apr 2004 03:55:37 +0000 (03:55 +0000)]
Preparing for release of 2.6.1
Wayne Davison [Tue, 27 Apr 2004 03:53:28 +0000 (03:53 +0000)]
- Tweaked the bullet char so that vim can auto-format the items more
easily (and then used vim to re-flow the items).
- Added a mention about the daemon security fix.
- Added the 2.6.1 release date.
Wayne Davison [Tue, 27 Apr 2004 01:36:16 +0000 (01:36 +0000)]
- Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY.
- Got rid of HP-UX kludge (since it didn't help).
Wayne Davison [Tue, 27 Apr 2004 01:36:10 +0000 (01:36 +0000)]
Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY.
Wayne Davison [Tue, 27 Apr 2004 01:36:06 +0000 (01:36 +0000)]
- Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY.
- Don't parse comment lines in add_exclude_file() when XFLG_WORD_SPLIT
is set.
Wayne Davison [Tue, 27 Apr 2004 01:36:00 +0000 (01:36 +0000)]
Got rid of HP-UX kludge (since it didn't help).
Wayne Davison [Tue, 27 Apr 2004 01:00:58 +0000 (01:00 +0000)]
Made a comment clearer.
Wayne Davison [Sun, 25 Apr 2004 20:36:41 +0000 (20:36 +0000)]
One more try at getting the HP-UX system in the build farm to compile
popt.
Wayne Davison [Sun, 25 Apr 2004 16:10:09 +0000 (16:10 +0000)]
Don't use __attribute__((__unused__)) on HP-UX w/o gcc.
Wayne Davison [Sat, 24 Apr 2004 08:00:39 +0000 (08:00 +0000)]
Improved the debug string for the local_exclude_list.
Wayne Davison [Sat, 24 Apr 2004 06:16:04 +0000 (06:16 +0000)]
Improved the EXCLUDE PATTERNS section some more.
Wayne Davison [Fri, 23 Apr 2004 08:09:13 +0000 (08:09 +0000)]
Fixed a comment.
Wayne Davison [Fri, 23 Apr 2004 05:14:39 +0000 (05:14 +0000)]
Mention how --update behaves when the type of the file differs on
the source and destination systems.
Wayne Davison [Fri, 23 Apr 2004 01:33:35 +0000 (01:33 +0000)]
Recently added caveat is no longer true.
Wayne Davison [Thu, 22 Apr 2004 22:17:15 +0000 (22:17 +0000)]
Restore the old include behavior where a command-line include could
override a .cvsignore exclude.
Wayne Davison [Thu, 22 Apr 2004 21:35:45 +0000 (21:35 +0000)]
Got rid of a wrong paragraph.
Wayne Davison [Thu, 22 Apr 2004 21:17:58 +0000 (21:17 +0000)]
Got rid of a bunch of cruft.
Wayne Davison [Thu, 22 Apr 2004 18:17:30 +0000 (18:17 +0000)]
Updated the default list of cvs-excluded files and added some extra
info on how the option interacts with other include/exclude rules.
Wayne Davison [Thu, 22 Apr 2004 09:58:24 +0000 (09:58 +0000)]
Added "debug_type" to the exclude_list_struct.
Wayne Davison [Thu, 22 Apr 2004 09:58:21 +0000 (09:58 +0000)]
No need to pass a debug string to check_exclude() anymore.
Wayne Davison [Thu, 22 Apr 2004 09:58:18 +0000 (09:58 +0000)]
No need to pass a debug string to check_exclude() anymore. When we
free an exclude list, make sure we don't clear the debug_type string.
Wayne Davison [Thu, 22 Apr 2004 09:58:15 +0000 (09:58 +0000)]
Initialize the new debug_type string in each exclude list and output
it in a couple extra debug messages. When we free an exclude list,
make sure we don't clear the debug_type string.
Wayne Davison [Thu, 22 Apr 2004 09:58:11 +0000 (09:58 +0000)]
Changed check_exclude()'s prototype.
Wayne Davison [Thu, 22 Apr 2004 08:41:03 +0000 (08:41 +0000)]
The debug output for add_exclude() now needs to limit the pattern to
print only "pat_len" chars.
Wayne Davison [Mon, 19 Apr 2004 17:52:39 +0000 (17:52 +0000)]
A couple minor text improvements.
Wayne Davison [Sun, 18 Apr 2004 06:29:06 +0000 (06:29 +0000)]
Mentioned the better handling of option paths when a daemon is not
running with chroot enabled.
Wayne Davison [Sat, 17 Apr 2004 19:58:12 +0000 (19:58 +0000)]
Made the device-changes section agree with the latest code.
Wayne Davison [Sat, 17 Apr 2004 18:40:16 +0000 (18:40 +0000)]
Preparing for release of 2.6.1pre-2
Wayne Davison [Sat, 17 Apr 2004 18:12:33 +0000 (18:12 +0000)]
Mention that --from0 does not affect --cvs-exclude's reading of the
.cvsignore files.
Wayne Davison [Sat, 17 Apr 2004 17:55:45 +0000 (17:55 +0000)]
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).
Wayne Davison [Sat, 17 Apr 2004 17:14:16 +0000 (17:14 +0000)]
The inode and dev values in the idev struct are now uint64.
Wayne Davison [Sat, 17 Apr 2004 17:14:12 +0000 (17:14 +0000)]
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.
Wayne Davison [Sat, 17 Apr 2004 17:07:23 +0000 (17:07 +0000)]
Use "uint64" instead of INO64_T (which is now gone).
Wayne Davison [Sat, 17 Apr 2004 17:06:03 +0000 (17:06 +0000)]
Fixed alloc_sanitize_path()'s handling of a rootdir == "/" (the old
code would generate a string that started with "//" instead of "/").
Wayne Davison [Thu, 15 Apr 2004 18:32:24 +0000 (18:32 +0000)]
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).
Wayne Davison [Thu, 15 Apr 2004 18:23:52 +0000 (18:23 +0000)]
Mention exclude improvements.
Wayne Davison [Thu, 15 Apr 2004 18:22:56 +0000 (18:22 +0000)]
Got rid of a couple useless lines.
Wayne Davison [Thu, 15 Apr 2004 16:55:23 +0000 (16:55 +0000)]
Moved some externs.
Wayne Davison [Thu, 15 Apr 2004 06:54:14 +0000 (06:54 +0000)]
Got rid of zlib/dummy ("dummy" is in the zlib .cvsignore, where it
should be).
Wayne Davison [Wed, 14 Apr 2004 23:33:40 +0000 (23:33 +0000)]
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).
Wayne Davison [Wed, 14 Apr 2004 23:33:37 +0000 (23:33 +0000)]
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.
Wayne Davison [Wed, 14 Apr 2004 23:33:34 +0000 (23:33 +0000)]
Updated the exclude-list code to handle the new linked-list
structure format.
Wayne Davison [Wed, 14 Apr 2004 23:33:34 +0000 (23:33 +0000)]
Updated the exclude-list code to handle the new linked-list
structure format.
Wayne Davison [Wed, 14 Apr 2004 22:49:54 +0000 (22:49 +0000)]
Updated stub version of check_exclude().
Wayne Davison [Wed, 14 Apr 2004 21:59:45 +0000 (21:59 +0000)]
Added a description arg to check_exclude().
Wayne Davison [Wed, 14 Apr 2004 21:59:41 +0000 (21:59 +0000)]
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).
Wayne Davison [Wed, 14 Apr 2004 20:50:32 +0000 (20:50 +0000)]
Improved the exclude testing by adding tests that exercise --cvs-exclude
and --delete-excluded.
Wayne Davison [Wed, 14 Apr 2004 16:51:48 +0000 (16:51 +0000)]
Moved (and expanded) a verbose message from clientserver.c to socket.c
to solve an old FIXME comment.
Wayne Davison [Tue, 13 Apr 2004 19:07:21 +0000 (19:07 +0000)]
Fixed a potential problem parsing the "!" token from a word-split string.
Wayne Davison [Tue, 13 Apr 2004 18:35:08 +0000 (18:35 +0000)]
A few more improvements to get_exclude_tok() and add_exclude().
Wayne Davison [Tue, 13 Apr 2004 00:32:58 +0000 (00:32 +0000)]
Added an example for --link-dest.
Wayne Davison [Mon, 12 Apr 2004 18:03:08 +0000 (18:03 +0000)]
Updated with latest news and some spelling mistakes corrected.
Wayne Davison [Mon, 12 Apr 2004 17:42:35 +0000 (17:42 +0000)]
Replaced MISSING_OK, MISSING_FATAL, ADD_INCLUDE, and ADD_EXCLUDE with
some new XFLG_* values (for the add_exclude*() function).
Wayne Davison [Mon, 12 Apr 2004 17:42:32 +0000 (17:42 +0000)]
- 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).
Wayne Davison [Mon, 12 Apr 2004 17:42:29 +0000 (17:42 +0000)]
Use the new XFLG_* flags to call the add_exclude*() functions.
Wayne Davison [Mon, 12 Apr 2004 16:52:43 +0000 (16:52 +0000)]
No need to cast st.st_rdev to DEV64_T anymore.
Wayne Davison [Mon, 12 Apr 2004 16:52:40 +0000 (16:52 +0000)]
- 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.
Wayne Davison [Mon, 12 Apr 2004 16:52:37 +0000 (16:52 +0000)]
- 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.
Wayne Davison [Sat, 10 Apr 2004 10:31:11 +0000 (10:31 +0000)]
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).
Wayne Davison [Fri, 9 Apr 2004 22:25:33 +0000 (22:25 +0000)]
UNUSED() misbehaves on HP-UX, not AIX.
Wayne Davison [Fri, 9 Apr 2004 21:51:34 +0000 (21:51 +0000)]
AIX doesn't like our UNUSED() macro, so let's eliminate it for them.
Wayne Davison [Fri, 9 Apr 2004 20:22:44 +0000 (20:22 +0000)]
Silence compiler warnings on Solaris.
Wayne Davison [Fri, 9 Apr 2004 20:17:01 +0000 (20:17 +0000)]
Missed one void-pointer-arithmetic case.
Wayne Davison [Fri, 9 Apr 2004 19:53:50 +0000 (19:53 +0000)]
AIX's cc was complaining about the void* arithmetic.
Wayne Davison [Fri, 9 Apr 2004 19:18:34 +0000 (19:18 +0000)]
Removed debug code.
Wayne Davison [Fri, 9 Apr 2004 19:04:03 +0000 (19:04 +0000)]
Changed sysmacros.h to sys/sysmacros.h.
Wayne Davison [Fri, 9 Apr 2004 18:36:01 +0000 (18:36 +0000)]
Added some test code to assist in the remote debugging of the build
farm's Solaris machines.