Hiltjo Posthuma
953ebf3573
code style
...
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-06-01 18:02:30 +01:00
sin
e37e2782a9
Only use major()/minor() if they are available in tar(1)
...
Otherwise silently ignore them in the archive case. This is the
same in principle as what we do in the unarchive case.
2014-01-30 16:17:25 +00:00
sin
0a7791a25c
Use recurse() in tar(1) instead of ftw(3)
2014-01-30 14:55:38 +00:00
sin
c83aef2cda
Use preprocessor conditionals to check if makedev() is present
...
makedev() is not portable and is typically implemented as a
macro. If it exists use it, otherwise silently ignore character
and block devices.
2014-01-28 17:22:48 +00:00
sin
b5a511dacf
Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1
...
Fixed for consistency purposes.
2013-10-07 16:44:22 +01:00
David Galos
b5b7db4009
tar: Check inode AND dev before ignoring a file. Thanks, Lars Lindqvist!
2013-07-28 12:12:03 -04:00
Roberto E. Vargas Caballero
f636ac791b
Avoid infinite loop in tar
...
When the tar file is written in one directory archived by tar
the function archive enters in an infinite loop due to de
tar file written. This patch avoid this case checking the
inode of the tar file before of adding it to the archive.
2013-07-20 13:18:39 -04:00
David Galos
9f8deb4b23
Tar compiles on BSD, thanks Roberto E. Vargas Caballero. Also remove tons of trailing whitespace.
2013-07-20 01:27:42 -04:00
sin
43c4213631
Remove trailing whitespace
2013-07-20 00:56:04 -04:00
David Galos
c5f10c4b06
Fixing idiotic mistake in tar
2013-07-18 11:52:01 -04:00
David Galos
2c75eb98d9
Adding tar.
2013-07-18 11:15:35 -04:00