Commit Graph

415 Commits

Author SHA1 Message Date
christos 7da746ab02 remove \n from error messages 2015-06-16 22:31:08 +00:00
wiz 5fe5275d9f Use An in AUTHORS section. 2015-04-11 16:22:07 +00:00
christos 23c362a5b1 Add -J/--xz to specifically decompress xz compressed files. We don't really
need this because -z autodetects the compression format; this is for syntax
compatibility with other tar implementations. From Joachim Henke
2015-04-11 15:41:33 +00:00
sevan 7c1a019ea3 From OpenBSD r1.49
Fix comment grammar
2015-03-09 23:38:08 +00:00
joerg 694cb36aee Fix RCS ID. 2014-08-08 14:48:55 +00:00
wiz 8df34715d2 Stop hissing. 2013-11-14 07:45:05 +00:00
christos e028f49d87 add --gnu for pax. 2013-11-14 04:00:48 +00:00
christos 3dd8ce9f5e Fixed unused warnings. 2013-10-18 19:53:34 +00:00
christos e164b1463b PR/48095: NAKAJIMA Yoshihiro: remove casts from time_t to long 2013-07-29 17:46:36 +00:00
christos 54f7a5dbf7 Recognize extended attribute headers and warn about them since we are not
currently handling them.
2013-01-24 17:43:44 +00:00
christos 4f5a673dad deal properly with empty lines in spec file 2012-09-27 00:44:59 +00:00
christos 6d8547fddc add missing include files 2012-08-09 11:05:59 +00:00
christos d653d57c19 PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio
erroneously think that negative time_t's never fit in 32 bits. Rework
conversion code to always use uintmax_t, and detect negative values.
XXX[1]: Perhaps we should do the same (use a signed conversion) for all
fields not just for time_t
XXX[2]: pullup for 6
2012-08-09 08:09:21 +00:00
wiz 3957bea1ef Fix whitespace nits. Suggested by Bug Hunting. 2012-03-22 07:58:16 +00:00
matt da4f7877a7 Use C89 function definitions 2012-03-20 18:42:28 +00:00
christos ce978720e5 Accept -X - 2011-11-03 21:59:45 +00:00
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
joerg 074c0c6e91 static + __dead 2011-08-29 14:47:47 +00:00
christos 5adf1dc258 eliminate dup code and non literal format strings 2011-08-14 10:49:58 +00:00
wiz 1824f8a210 Use Fl Fl for long options. 2011-06-19 07:34:24 +00:00
christos 9f641b5c29 document --xz 2011-06-19 00:55:09 +00:00
christos dbf8eeee06 add --xz 2011-06-18 23:07:04 +00:00
martin 66001421e0 Fix bogus paranthesis, From Henning Peternse in PR bin/44773. 2011-03-26 12:01:06 +00:00
enami 0d5166c3ab Backout previous; it was wrong fix. 2010-08-31 05:07:09 +00:00
enami 15ae718747 Fix build as tools. 2010-08-31 04:50:07 +00:00
enami 6953635557 - Raise an error rather than silently creating broken archive
if user don't specify --force-local but opened file is actually
  a local file.
- Make cpio to accept -F option as described in manpage.
- Make pax to set forcelocal flag if requested to do so.
- Add missing break statement.
2010-08-31 03:16:06 +00:00
sjg 2ff6888cf4 Do not throw a usage message for -i followed by -t
since 'cpio -itv' is a valid command.
2010-08-25 21:36:02 +00:00
wiz 9b010439be Use Fl Fl for long options. Remove unnecessary Bk/Ek. 2010-06-19 11:16:31 +00:00
christos 0ac48c3baa add --use-compress-program to pax, requested by mrg. 2010-06-19 00:43:57 +00:00
joerg 22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
joerg f95fad15ff \\ -> \e 2010-04-05 21:16:21 +00:00
joerg 00e74a9bf1 \\ -> \e 2010-04-05 16:16:53 +00:00
dholland 1021e8e12c bump date for previous 2010-03-23 18:09:16 +00:00
dholland bf1e7b508d The -X option of tar names a file containing exception globs, not
exception filenames, same as in gtar. PR 41168 from Perry.
2010-03-23 17:21:40 +00:00
christos 7b9eb38d5c Remove unnecessary casts. 2009-12-21 12:44:48 +00:00
wiz 8bdb893510 Free pt in another error case.
Found by Henning Petersen using cppcheck, in PR 42488.
2009-12-21 09:17:37 +00:00
dholland c1bd5c1780 Don't use NOGLOB_MTCH for pax, only for tar. Fixes fix for PR 41167 and
closes PR 42301. Since the 41167 fix was pulled up to -5, this needs to
be too.
2009-12-14 05:04:48 +00:00
christos e5882afd65 too many dots. noted by anon-ymous 2009-09-06 13:38:50 +00:00
roy 7027866a09 Rename internal getline() function to get_line() so it does
conflict with the soon to be added getline(3) libc function.
2009-07-13 19:05:39 +00:00
perry a992ea7967 Fixes from christos for pr-41167
XXX -X is still broken, but that wasn't part of this PR.
2009-04-07 19:52:35 +00:00
lukem 990d25a96c fix -Wsign-compare issues 2009-02-14 08:02:04 +00:00
dbj 5ae3d13a2f do not require sys/mtio.h for a tools build of pax 2009-02-03 05:22:40 +00:00
dholland afde5a17cd Don't pass strings from argv[] to free(). Fixes PR 39992. 2008-11-23 10:08:50 +00:00
dholland 23ba00db99 "compatibility", not "compatability". 2008-11-23 09:51:10 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
joerg 932c7ae27a Kill pre-4.4BSD compat code. 2008-02-24 20:42:46 +00:00
simonb 9b21141213 Set "ftent" to NULL in in ftree_arg() after we call fts_close(), so that
it isn't used later on in ftree_sel() after it's been free'd.

OK christos@ (and for the interesting test case).
2008-02-18 15:54:48 +00:00
tls cfdef6ecba Teach set_ftime about symbolic links, because it has to know: on some
Linux systems, when we build as a tool we think we have lutimes but it
doesn't work on some filesystems at runtime.  A bit ugly but effective
and without use of AC_TRY_RUN in the tool build.  Tidier (than mine)
set_ftime reorganization from christos.
2008-01-10 04:24:51 +00:00
wiz 861900d761 Fix typo in comment. 2007-12-02 21:36:44 +00:00