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
Wayne Davison
f26ac1e8cb
If we're listing a device, output the major and minor device numbers.
2004-04-09 00:33:34 +00:00
Wayne Davison
84a3efa0ab
Simplify the setting of rdev & rdev_high in send_file_entry().
2004-04-08 23:15:39 +00:00
Wayne Davison
00ed4b5bf3
Fixed a bug in the sending of rdev when the high-bits match.
2004-04-08 23:05:36 +00:00
Wayne Davison
e2e053bbd7
Explicitly cast our ~0xFF mask using ~(DEV64_T)0xFF, just to be sure
...
(sign-extention would have probably made the former work OK).
2004-04-08 21:51:49 +00:00
Wayne Davison
f8b33ab379
Mention the rsync-daemon fix for --sufix=''.
2004-04-07 23:13:02 +00:00
Wayne Davison
5df1fcf245
If --daemon was specified, exit the option-parsing code before
...
adjusting various default values (the real defaults will get
set when the client's options arrive).
2004-04-07 23:09:14 +00:00
Wayne Davison
b1ad6a3260
Added a couple missing items.
2004-04-05 15:05:46 +00:00
Wayne Davison
6442ccc606
Decided against "Source root" in the exclude/include examples.
2004-04-03 20:47:54 +00:00
Wayne Davison
b21813060c
Mentioned the CoW improvement and got rid of a bug-fix mention that
...
was for a bug introduced during the 2.6.1 developement.
2004-04-03 18:13:51 +00:00
Wayne Davison
706c75307a
Use getaddrinfo() to figure out if a numeric address is IPv4 or IPv6.
2004-04-01 21:39:35 +00:00
Wayne Davison
2b284ee33d
Last of the cleanup before the patching starts.
2004-04-01 21:08:24 +00:00
Wayne Davison
4cfa6156e3
A couple more minor twiddles.
2004-04-01 20:56:50 +00:00
Wayne Davison
c1e7217fcb
Updated the sizeof syntax and trimmed some trailing whitespace.
2004-04-01 20:53:39 +00:00
Wayne Davison
4b2f6a7c37
Decided to use "nobody" instead of "guest".
2004-04-01 18:05:40 +00:00
Wayne Davison
a8726d2a06
Some more IOERR_VANISHED support.
2004-04-01 18:04:59 +00:00
Wayne Davison
b5ebe6d9c7
Improved the include/exclude example section some more. Document
...
the new username default of "guest" if neither USER or LOGNAME is
set in the environment.
2004-03-31 18:53:57 +00:00
Wayne Davison
ef383c0d32
The auth_client function must not return without outputting something
...
on the socket, so a NULL or empty username now defaults to "guest".
2004-03-31 18:52:38 +00:00
Wayne Davison
8dcf93356e
Don't complain about a null --suffix if we're the server/sender (since
...
we might not have received the --backup-dir path from the client).
2004-03-31 17:02:22 +00:00
Martin Pool
ce5f2732e4
I'm no longer maintaining this. Tell people to use the lists instead.
2004-03-31 02:48:47 +00:00
Wayne Davison
3e89da86df
The --files-from option needs to allow a server-sender to sometimes
...
have just 1 arg on the command-line.
2004-03-30 02:08:07 +00:00
Wayne Davison
f5450e791d
Try to avoid running on a system that allows us to create devices
...
without being root (like cygwin) because rsync won't copy the
devices if it is not root.
2004-03-29 17:02:31 +00:00
Wayne Davison
cb984e620e
In sigchild_handler(), finish with waitpid() before reinitializing
...
the SIGCHLD handling.
2004-03-29 16:30:53 +00:00
Wayne Davison
be92ac6c36
Added one more example to the new include/exclude section to show how
...
--relative works with a non-absolute path.
2004-03-27 20:04:04 +00:00
Wayne Davison
5dc6e9c9ca
Mention that certain options treat an absolute path as relative to the
...
module's "path" dir, even when chroot is off.
2004-03-27 19:47:27 +00:00
Wayne Davison
0b79c324ca
Improved the "relative to the destination dir" description for
...
several options.
2004-03-27 19:46:28 +00:00