Wayne Davison
1a2e41af94
Add support for transferring & setting nsec time values.
2009-09-07 14:11:58 -07:00
Wayne Davison
6e310d38fc
Have --fake-super turn a symlink into a file when
...
NO_SYMLINK_XATTRS is defined.
2009-09-02 09:06:29 -07:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
adc2476fa2
Output numbers in 3-digit groups by default (e.g. 1,234,567).
...
Also improved the human-readable output functions, including
adding the ability to output negative numbers.
2008-09-01 13:27:11 -07:00
Wayne Davison
7f0db4fd8e
Use big_num() in a few more places.
2008-07-17 17:01:10 -07:00
Wayne Davison
5b385336b9
Added options to tls.c to allow us to ask for mtime and ownership info
...
on symlinks. The testsuite will now pass these options to tls if rsync
is configured to affect such attributes on symlinks.
2008-05-06 10:39:19 -07:00
Wayne Davison
8afaef4219
Have configure check to see if /usr/include/popt/popt.h is around
...
(rather than /usr/include/popt.h), and use the included popt lib
if it is (to avoid a potential conflict due to our use of -I.).
2008-03-14 22:55:59 -07:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
e35ad79b1b
Make do_chmod() report an error with -E.
2008-01-25 16:57:02 -08:00
Wayne Davison
1b42f628f4
Moved inline functions from rsync.h into ifuncs.h.
2007-09-22 16:52:58 +00:00
Wayne Davison
6619d5fcc1
Added some stub functions for compilers not smart enough to get rid
...
of static inline functions that are not called.
2007-09-22 14:18:32 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
dc77edf218
Martin gave his approval to use GPLv3 with this code.
2007-07-09 01:24:01 +00:00
Wayne Davison
acac1f5c6f
Conditionalize xattr code for systems without xattr support.
2007-04-24 16:54:38 +00:00
Wayne Davison
9a234269ed
Improved the usage message.
2007-04-24 08:00:49 +00:00
Wayne Davison
db9c9e2766
Added arg-parsing to tls.c.
2007-04-24 07:52:45 +00:00
Wayne Davison
9439c0cb5a
Adding the --fake-super option.
2007-04-24 07:32:44 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00
Wayne Davison
f335eb1f83
Fix usage message.
2006-12-26 05:56:38 +00:00
Wayne Davison
185aa5b0e5
Turned an sprintf() call into snprintf().
2006-10-13 23:42:52 +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
e31058d41e
Cast some time values to (int), just to silence some warnings on
...
Stratus VOS.
2005-09-21 17:42:15 +00:00
Wayne Davison
018b28328c
No need for conditional code around do_lstat() anymore.
2005-01-19 19:30:29 +00:00
Wayne Davison
f6b384d41f
Don't call do_lstat() unless SUPPORT_LINKS is defined.
2004-12-13 17:22:32 +00:00
Wayne Davison
48d3ff94c9
Only output major/minor info for a character/block device, not for
...
a FIFO or a socket.
2004-09-23 05:33:48 +00:00
Wayne Davison
630e3c408b
Whitespace tweaks.
2004-05-15 19:09:42 +00:00
Wayne Davison
0e1d98ae92
Silence compiler warnings on Solaris.
2004-04-09 20:22:44 +00:00
Wayne Davison
decba3ae73
Removed debug code.
2004-04-09 19:18:34 +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
f26ac1e8cb
If we're listing a device, output the major and minor device numbers.
2004-04-09 00:33:34 +00:00
Wayne Davison
f358487f8e
Silence a compiler warning on Sun OS systems.
2004-01-04 07:06:05 +00:00
Wayne Davison
f69204adad
Changed main() definition to avoid an extra prototype being put
...
into the proto.h file.
2003-09-10 08:27:34 +00:00
Wayne Davison
522c05cf9a
Declare preserve_perms for latest syscall.o.
2003-01-21 01:35:23 +00:00
Martin Pool
e35080cede
long int and signedness fix from Nelson Beebe
2002-04-09 06:11:06 +00:00
Martin Pool
ac13ad106a
Clean up comments for Doxygen.
2002-04-08 03:03:04 +00:00
Martin Pool
d0f821ad3d
Must use STRUCT_STAT not "struct stat" to be compatible with other
...
rsync functions.
2002-02-18 22:49:00 +00:00
Martin Pool
ea1438dad8
Merge ChangeSet@1.12: tls now shows number of links to a file to aid in testing -H
2002-01-11 07:09:22 +00:00
Martin Pool
0771727d41
Readlink(2) does not nul-terminate the output buffer, so we were
...
getting corrupt output when listing more than one symlink.
2001-12-14 01:48:48 +00:00
Martin Pool
acf1af0cd9
const-cast required for silly UNICOS headers
2001-12-02 12:37:48 +00:00
Martin Pool
1336e41460
Show symlink targets
2001-11-27 07:56:33 +00:00
Martin Pool
dd0700b025
mtime and ownership of symlinks can be random, so don't print them.
2001-11-27 07:54:03 +00:00
Martin Pool
2d4c8e5945
The size of anything but a regular file is probably not worth thinking
...
about.
2001-11-27 07:07:36 +00:00
Martin Pool
4ed886ae6e
Also list permissions, ownership, size, and mtime.
2001-11-27 06:45:47 +00:00
Martin Pool
f7ca98bdc4
Doc.
2001-09-07 07:57:10 +00:00
Martin Pool
f22ee86517
Add a little implementation of ls(1) so that we can look at all and
...
only the attributes of files that rsync is meant to synchronize.
2001-09-07 07:52:09 +00:00