1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00
freebsd/usr.bin/cpio
Tim Kientzle 3e0fc6d3f3 This addresses some issues with my earlier -R fix that
were pointed out by Brooks Davis and Alexey Dokuchaev:
* It now tries to lookup arguments as names first, then tries
   to parse them as numbers.  In particular, this makes the
   behavior consistent with POSIX conventions when usernames
   consist entirely of digits.
* It now uses strtoul() for the numeric parsing.

Finally, I've included an update to the test harness
to exercise the new numeric cases for -R.

Approved by:	re (kib)
2009-07-06 02:02:45 +00:00
..
test This addresses some issues with my earlier -R fix that 2009-07-06 02:02:45 +00:00
bsdcpio.1 Merge from libarchive.googlecode.com: 2009-04-17 04:04:57 +00:00
cmdline.c This addresses some issues with my earlier -R fix that 2009-07-06 02:02:45 +00:00
config_freebsd.h Custom command line parser for cpio; this is a little more 2008-12-06 07:30:40 +00:00
cpio_platform.h Merge from libarchive.googlecode.com: 2009-04-17 04:04:57 +00:00
cpio.c This fixes bsdcpio's -R option to accept numeric 2009-07-03 17:54:33 +00:00
cpio.h Merge from libarchive.googlecode.com: 2009-04-17 04:04:57 +00:00
err.c
Makefile When compiled for the release crunches, be a bit 2009-04-19 06:59:12 +00:00
matching.c Rework line-processing framework to add support for --null and 2008-06-21 02:20:20 +00:00
matching.h
pathmatch.c Merge from libarchive.googlecode.com: 2009-04-17 04:04:57 +00:00
pathmatch.h Merge from libarchive.googlecode.com: 2009-04-17 04:04:57 +00:00