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
buf_subs.c
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
options.c Add the timestamp option to the pax front end. 2015-12-19 18:45:52 +00:00
options.h
pat_rep.c
pat_rep.h
pax.1 Remove trailing whitespace. 2015-12-19 18:48:41 +00:00
pax.c
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
sel_subs.h
tables.c Fixed unused warnings. 2013-10-18 19:53:34 +00:00
tables.h
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