NetBSD/bin/pax
dholland 07c23da28f Don't use the length return from snprintf to write out the result
buffer. If snprintf truncated the output, the length returned will be
greater and we'll write trash. Just call strlen instead. (And since
what we're doing is writing progress messages to the user, checking
carefully for truncation isn't really worthwhile either.)

Spotted when attending to PR 50998 from David Binderman; the issue
there (computation of an unused value) popped up because one of the
prints was already calling strlen.
2016-05-31 03:32:36 +00:00
..
ar_io.c Don't use the length return from snprintf to write out the result 2016-05-31 03:32:36 +00:00
ar_subs.c NULL does not need a cast 2011-08-31 16:24:54 +00:00
buf_subs.c fix typos 2007-04-29 20:23:34 +00:00
cpio.1 Use An in AUTHORS section. 2015-12-19 18:48:33 +00:00
cpio.c PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio 2012-08-09 08:09:21 +00:00
cpio.h
dumptar.c Remove undefined behavior in buf(); use buf() as intended in intarg(). 2016-05-30 17:34:35 +00:00
extern.h PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio 2012-08-09 08:09:21 +00:00
file_subs.c PR/48095: NAKAJIMA Yoshihiro: remove casts from time_t to long 2013-07-29 17:46:36 +00:00
ftree.c deal properly with empty lines in spec file 2012-09-27 00:44:59 +00:00
ftree.h
gen_subs.c PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio 2012-08-09 08:09:21 +00:00
getoldopt.c add missing include files 2012-08-09 11:05:59 +00:00
Makefile Add MKBSDTAR, defaulting to no. It switching cpio and tar to the 2010-04-23 19:41:02 +00:00
options.c Add the timestamp option to the pax front end. 2015-12-19 18:45:52 +00:00
options.h PR/36194: Greg A. Woods: add a '-V' flag to pax for verbose summary without 2007-04-23 18:40:22 +00:00
pat_rep.c Fixes from christos for pr-41167 2009-04-07 19:52:35 +00:00
pat_rep.h Kill pre-4.4BSD compat code. 2008-02-24 20:42:46 +00:00
pax.1 Remove trailing whitespace. 2015-12-19 18:48:41 +00:00
pax.c static + __dead 2011-08-29 14:47:47 +00:00
pax.h PR/46786: Simon Burge: After conversion to 64 bit time_t, tar/pax/cpio 2012-08-09 08:09:21 +00:00
sel_subs.c NULL does not need a cast 2011-08-31 16:24:54 +00:00
sel_subs.h
tables.c Fixed unused warnings. 2013-10-18 19:53:34 +00:00
tables.h fix typos 2007-04-29 20:23:34 +00:00
tar.1 PR/50119: Thomas Klausner: Add --timestamp option to tar. 2015-12-19 18:28:54 +00:00
tar.c PR/50119: Thomas Klausner: Add --timestamp option to tar. 2015-12-19 18:28:54 +00:00
tar.h Recognize extended attribute headers and warn about them since we are not 2013-01-24 17:43:44 +00:00
tty_subs.c PR/36194: Greg A. Woods: add a '-V' flag to pax for verbose summary without 2007-04-23 18:40:22 +00:00