summaryrefslogtreecommitdiff
path: root/bin/pax/options.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-06-13 17:51:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-06-13 17:51:15 +0000
commita42016a89f1868417d387d1913b585cc085f838f (patch)
tree18254b99fdacd0fa29113af2a4a37b68887d3ed9 /bin/pax/options.h
parent2beff53b1604b0bf21610bf30d8b0b92f8a29a53 (diff)
Add a -0 flag to make pax use a NUL instead of a newline as the
pathname separator. Works in list mode as well as read/copy mode. Based on a patch from David Leonard; closes PR 3310
Diffstat (limited to 'bin/pax/options.h')
-rw-r--r--bin/pax/options.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/pax/options.h b/bin/pax/options.h
index 6d932afa6bf..30d0e89de86 100644
--- a/bin/pax/options.h
+++ b/bin/pax/options.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.h,v 1.3 2003/06/02 23:32:08 millert Exp $ */
+/* $OpenBSD: options.h,v 1.4 2003/06/13 17:51:14 millert Exp $ */
/* $NetBSD: options.h,v 1.3 1995/03/21 09:07:32 cgd Exp $ */
/*-
@@ -84,12 +84,13 @@
#define CXF 0x08000000
#define CYF 0x10000000 /* nonstandard extension */
#define CZF 0x20000000 /* nonstandard extension */
+#define C0F 0x40000000 /* nonstandard extension */
/*
* ascii string indexed by bit position above (alter the above and you must
* alter this string) used to tell the user what flags caused us to complain
*/
-#define FLGCH "abcdfiklnoprstuvwxBDEGHLPTUXYZ"
+#define FLGCH "abcdfiklnoprstuvwxBDEGHLPTUXYZ0"
/*
* legal pax operation bit patterns