Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
85b057cccf
Check the return code from mbr_uid_to_uuid()/mbr_gid_to_uuid() so
...
that the user sees the right error if they failed.
2008-02-23 07:44:55 -08:00
Wayne Davison
87531e6302
Get rid of some compiler warnings in the AIX sysacls code.
2007-11-29 17:12:54 -08:00
Wayne Davison
1f41d42a91
Getting rid of all .cvsignore files.
2007-11-12 13:32:10 -08:00
Wayne Davison
1b411143e5
Got rid of a compiler warning.
2007-11-08 20:30:17 +00:00
Wayne Davison
9456434688
Some fixes for SCO in new getaddrinfo() code.
2007-11-08 14:54:58 +00:00
Wayne Davison
268da8167a
Use uint32, not uint32_t.
2007-11-08 01:31:58 +00:00
Wayne Davison
2213961e8f
Add back a define of "struct sockaddr_storage" for systems that
...
don't have it.
2007-11-08 01:10:34 +00:00
Wayne Davison
9f802c7294
A new version of the getaddrinfo code from the samba source.
2007-11-02 20:52:57 +00:00
Wayne Davison
14dfad3873
A couple tweaks to the AIX ACL code.
2007-10-05 20:47:18 +00:00
Wayne Davison
90c71caeb3
The hpux_count_obj() function should have been declared with a
...
void return type.
2007-10-05 02:30:39 +00:00
Wayne Davison
b0ca7d2500
Specify a better SMB_ACL_VALID_NAME_BITS value for OS X.
2007-09-29 16:06:40 +00:00
Wayne Davison
5ebb7935d2
Tweaked a variable name.
2007-09-29 04:35:26 +00:00
Wayne Davison
d417c51669
- Added OS X ACL support.
...
- Simplified some of the ge/set calling sequences.
- Got rid of SMB_ACL_PERMSET_T.
2007-09-28 21:54:11 +00:00
Wayne Davison
65a22a5ff7
In pool_free_old(), one code path was not clearing a "next" pointer,
...
so the code could try to free an extent twice in certain circumstances.
2007-08-21 05:04:02 +00:00
Wayne Davison
a0f70237f5
Fix pool_create() to honor the POOL_INTERN flag.
...
(Thanks to Brion Vibber.)
2007-08-21 04:54:30 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
8b498b9f1a
Decided against the last change.
2007-06-06 15:43:34 +00:00
Wayne Davison
c04af69701
Allow a NULL address to be passed to pool_free_old() to indicate that
...
it should free all old mem and reset to an empty state.
2007-06-06 15:38:31 +00:00
Wayne Davison
676e604135
Added pool_free_old() and pool_boundary() functions to add a way to
...
free all wholly affected extents older than a particular point in time.
2007-05-29 04:19:41 +00:00
Wayne Davison
3fac8ca8d1
Tweaked a variable and a label to make them less confusing.
2007-05-29 02:47:23 +00:00
Wayne Davison
33766a8daa
Improvements to increase clarity, fix misstatements, add missing
...
punctuation, and fix some typos.
2007-05-29 02:46:44 +00:00
Wayne Davison
e3d27df444
- Fixed a bug where a pool_free() on the most-recently allocated pool
...
item was trying to make that memory available to the pool, but it
failed to adjust the right variable.
- Fixed a bug in pool_free() where the return of the entire live
extent back to unallocated status did not obey POOL_CLEAR.
- Use the new() and new_array() functions instead of malloc().
- Changed the sqew variable to skew.
- Some other minor formatting tweaks.
2007-05-29 00:52:08 +00:00
Wayne Davison
898fab2577
Got rid of superfluous acl_clear_perms() call that Antti Tapaninen
...
pointed out.
2007-05-25 14:16:57 +00:00
Wayne Davison
3d0a159d96
Added a comment to a shared iterator to avoid a warning from IBM's checker.
2007-05-22 05:58:59 +00:00
Wayne Davison
63186ec077
Fixed a problem in a couple OS's sys_acl_get_access_bits() functions.
2007-05-21 02:09:45 +00:00
Wayne Davison
043ef55b22
- Define what the valid access bits are for a name element and a
...
non-name element.
- Set a define when the OS needs the name-list sorted.
- Got rid of the permset-related defines.
- Got rid of some function prototypes that rsync doesn't need.
- Got rid of the defines for the do-nothing ACL code.
2007-05-21 01:04:37 +00:00
Wayne Davison
a30dcbc0a8
- Added a function to get/set all the access-bit values with a single
...
call. This allows the per-OS compatibility code to construct the
value with however many bits are supported by each OS.
- Removed several functions that rsync doesn't (and won't) need.
- Got rid of the do-nothing ACL code (the ACL code in rsync should be
disabled on a system that we can't support).
2007-05-21 01:04:34 +00:00
Wayne Davison
1c702303eb
Moved the header info from smb_acls.h into lib/sysacls.h.
2007-04-24 08:11:02 +00:00
Wayne Davison
16edf86595
The improved --xattrs option is landing on the trunk.
2007-04-07 17:22:25 +00:00
Wayne Davison
a0456b9c46
Protocol 30 now uses MD5 checksums instead of MD4.
2007-03-18 06:00:53 +00:00
Wayne Davison
1b897d50a9
Leave out two unneeded sys*_fd() functions due to their using
...
a function & struct that is not available in the rsync code.
2007-03-11 07:31:17 +00:00
Wayne Davison
d4a013edb7
We now compile on systems where ENOTSUP is not defined.
2007-03-11 07:21:07 +00:00
Wayne Davison
1c3344a105
The ACL support has arrived! This version has a brand new protocol
...
that makes it incompatible with all prior versions. A patch will be
provided to allow talking with older (patched) rsync versions.
2007-03-11 00:13:34 +00:00
Wayne Davison
4a19c3b254
Added "const" to appropriate char pointers.
2006-11-19 00:23:21 +00:00
Wayne Davison
f210dcadf4
- Fixed a compile problem ("len" not defined) in inet_ntop4().
...
- Replaced sprintf() with snprintf() in inet_ntop6().
2006-10-16 18:11:24 +00:00
Wayne Davison
204f4f4d09
Changed strcpy() calls into memcpy() calls.
2006-10-13 23:17:37 +00:00
Wayne Davison
c9bce0b8f8
Changed strcpy() calls into strlcpy() calls, just to be extra safe.
2006-10-13 23:17:33 +00:00
Wayne Davison
e7c67065c0
Updated the FSF's address to an even newer one.
2006-04-25 23:51:12 +00:00
Wayne Davison
0f78b81511
- Updated the address for the FSF in the opening comment.
...
- Standardized the format of the opening comment, including adding a
brief description of what's in the file for those that lacked it.
- Added some missing copyright lines.
- Some minor whitespace tweaks (in a few of the files).
2006-04-25 20:23:34 +00:00
Wayne Davison
146d2228cc
Got rid of the replacement inet_aton() and inet_ntoa() functions
...
because no code in rsync has used these functions since 2.4.8.
2006-04-13 16:52:15 +00:00
Wayne Davison
65854cf91a
Changed the mode arg from an int to a mode_t.
2006-01-30 00:39:59 +00:00
Wayne Davison
390621a7ab
Added a new function, wildmatch_array(), that lets the caller pass
...
the text-string as an array of strings (with a terminating NULL
pointer at the end). Also added litmatch_array(), which does a
literal match (no wildcards or special chars) against an array of
strings.
2006-01-02 17:46:15 +00:00
Wayne Davison
478bb47c40
The latest prototypes.
2006-01-02 17:46:12 +00:00
Wayne Davison
8e74463643
- Added a new public function, iwildmatch(), which will treat all
...
upper-case letters in the "text" as lower-case.
- Renamed variable "ch" -> "p_ch" and "prev" -> "prev_ch".
- Added variable "t_ch" to hold the current *text value.
- Return ABORT_ALL if we reach the end of the text string with
more pattern to match.
2005-12-30 07:12:48 +00:00
Wayne Davison
933d1dfd0f
Added a prototype for iwildmatch().
2005-12-30 07:09:34 +00:00
Wayne Davison
e725abcf4e
Added a comment, improved a comment, tweaked the recursive function's
...
name, tweaked the arg names to wildmatch(), and tweaked the style of
the "else" statements when they follow a brace.
2005-12-18 19:40:50 +00:00
Wayne Davison
de01941274
Tweaked the name of the first arg to wildmatch().
2005-12-18 19:38:47 +00:00
Wayne Davison
8ea17b5098
Twiddled some brace positions and removed a superfluous ';' in a macro.
2005-11-14 21:24:30 +00:00