OSDN Git Service

[Android] Regenerate generated files.
authorElliott Hughes <enh@google.com>
Wed, 3 Dec 2014 03:07:14 +0000 (19:07 -0800)
committerElliott Hughes <enh@google.com>
Wed, 3 Dec 2014 03:10:03 +0000 (19:10 -0800)
Also add dummy pty.h, shadow.h, and utmpx.h files to make my life easier
when I regenerate the generated files. This happens on the host, so the
checks always decide that those headers are available.

Change-Id: I3508f6ba3be07d044070712238d1dcb993844bbb

.config
generated/config.h
generated/flags.h
generated/globals.h
generated/help.h
generated/newtoys.h
generated/oldtoys.h
pty.h [new file with mode: 0644]
shadow.h [new file with mode: 0644]
utmpx.h [new file with mode: 0644]

diff --git a/.config b/.config
index 01037ec..95a24b5 100644 (file)
--- a/.config
+++ b/.config
@@ -1,15 +1,15 @@
 #
 # Automatically generated make config: don't edit
 # ToyBox version: KCONFIG_VERSION
-# Mon Nov 24 14:32:03 2014
+# Tue Dec  2 19:06:43 2014
 #
 CONFIG_TOYBOX_CONTAINER=y
 CONFIG_TOYBOX_FIFREEZE=y
 CONFIG_TOYBOX_ICONV=y
 CONFIG_TOYBOX_FALLOCATE=y
-# CONFIG_TOYBOX_UTMPX is not set
-# CONFIG_TOYBOX_PTY is not set
-# CONFIG_TOYBOX_SHADOW is not set
+CONFIG_TOYBOX_UTMPX=y
+CONFIG_TOYBOX_PTY=y
+CONFIG_TOYBOX_SHADOW=y
 
 #
 # Posix commands
@@ -31,7 +31,6 @@ CONFIG_CPIO=y
 CONFIG_CUT=y
 CONFIG_DATE=y
 CONFIG_DF=y
-CONFIG_DF_PEDANTIC=y
 CONFIG_DIRNAME=y
 CONFIG_DU=y
 CONFIG_ECHO=y
@@ -95,7 +94,11 @@ CONFIG_XARGS=y
 # CONFIG_BOOTCHARTD is not set
 # CONFIG_BRCTL is not set
 # CONFIG_COMPRESS is not set
+# CONFIG_GZIP is not set
+# CONFIG_GZIP_D is not set
+# CONFIG_DECOMPRESS is not set
 # CONFIG_ZCAT is not set
+# CONFIG_GUNZIP is not set
 # CONFIG_CROND is not set
 # CONFIG_CRONTAB is not set
 # CONFIG_DD is not set
@@ -247,7 +250,6 @@ CONFIG_SHA1SUM=y
 CONFIG_MKNOD=y
 CONFIG_MKTEMP=y
 CONFIG_MOUNT=y
-# CONFIG_NFSMOUNT is not set
 # CONFIG_PASSWD is not set
 CONFIG_PIDOF=y
 CONFIG_SEQ=y
index dda3fda..e10781d 100644 (file)
@@ -6,12 +6,12 @@
 #define USE_TOYBOX_ICONV(...) __VA_ARGS__
 #define CFG_TOYBOX_FALLOCATE 1
 #define USE_TOYBOX_FALLOCATE(...) __VA_ARGS__
-#define CFG_TOYBOX_UTMPX 0
-#define USE_TOYBOX_UTMPX(...)
-#define CFG_TOYBOX_PTY 0
-#define USE_TOYBOX_PTY(...)
-#define CFG_TOYBOX_SHADOW 0
-#define USE_TOYBOX_SHADOW(...)
+#define CFG_TOYBOX_UTMPX 1
+#define USE_TOYBOX_UTMPX(...) __VA_ARGS__
+#define CFG_TOYBOX_PTY 1
+#define USE_TOYBOX_PTY(...) __VA_ARGS__
+#define CFG_TOYBOX_SHADOW 1
+#define USE_TOYBOX_SHADOW(...) __VA_ARGS__
 #define CFG_BASENAME 1
 #define USE_BASENAME(...) __VA_ARGS__
 #define CFG_CAL 1
@@ -46,8 +46,6 @@
 #define USE_DATE(...) __VA_ARGS__
 #define CFG_DF 1
 #define USE_DF(...) __VA_ARGS__
-#define CFG_DF_PEDANTIC 1
-#define USE_DF_PEDANTIC(...) __VA_ARGS__
 #define CFG_DIRNAME 1
 #define USE_DIRNAME(...) __VA_ARGS__
 #define CFG_DU 1
 #define USE_BRCTL(...)
 #define CFG_COMPRESS 0
 #define USE_COMPRESS(...)
+#define CFG_GZIP 0
+#define USE_GZIP(...)
+#define CFG_GZIP_D 0
+#define USE_GZIP_D(...)
+#define CFG_DECOMPRESS 0
+#define USE_DECOMPRESS(...)
 #define CFG_ZCAT 0
 #define USE_ZCAT(...)
+#define CFG_GUNZIP 0
+#define USE_GUNZIP(...)
 #define CFG_CROND 0
 #define USE_CROND(...)
 #define CFG_CRONTAB 0
 #define USE_MKTEMP(...) __VA_ARGS__
 #define CFG_MOUNT 1
 #define USE_MOUNT(...) __VA_ARGS__
-#define CFG_NFSMOUNT 0
-#define USE_NFSMOUNT(...)
 #define CFG_PASSWD 0
 #define USE_PASSWD(...)
 #define CFG_PIDOF 1
index 271e0f7..cbfef62 100644 (file)
 #undef FLAG_3
 #endif
 
-// compress   zcd9Lrg[-cd][!zgLr]
+// compress   zcd9lrg[-cd][!zgLr]
 #ifdef CLEANUP_compress
 #undef CLEANUP_compress
 #undef FOR_compress
 #undef FLAG_g
 #undef FLAG_r
-#undef FLAG_L
+#undef FLAG_l
 #undef FLAG_9
 #undef FLAG_d
 #undef FLAG_c
 #undef FOR_groupdel
 #endif
 
+// gunzip   cflqStv
+#ifdef CLEANUP_gunzip
+#undef CLEANUP_gunzip
+#undef FOR_gunzip
+#undef FLAG_v
+#undef FLAG_t
+#undef FLAG_S
+#undef FLAG_q
+#undef FLAG_l
+#undef FLAG_f
+#undef FLAG_c
+#endif
+
+// gzip   d19dcflqStvgLRz[!gLRz]
+#ifdef CLEANUP_gzip
+#undef CLEANUP_gzip
+#undef FOR_gzip
+#undef FLAG_z
+#undef FLAG_R
+#undef FLAG_L
+#undef FLAG_g
+#undef FLAG_v
+#undef FLAG_t
+#undef FLAG_S
+#undef FLAG_q
+#undef FLAG_l
+#undef FLAG_f
+#undef FLAG_c
+#undef FLAG_d
+#undef FLAG_9
+#undef FLAG_1
+#undef FLAG_d
+#endif
+
 // head n#<0=10 n#<0=10
 #ifdef CLEANUP_head
 #undef CLEANUP_head
 #undef FLAG_O
 #endif
 
-// mountpoint <1qdx <1qdx
+// mountpoint <1qdx[-dx] <1qdx[-dx]
 #ifdef CLEANUP_mountpoint
 #undef CLEANUP_mountpoint
 #undef FOR_mountpoint
 #undef FLAG_p
 #endif
 
-// nfsmount   ?<2>2
-#ifdef CLEANUP_nfsmount
-#undef CLEANUP_nfsmount
-#undef FOR_nfsmount
-#endif
-
 // nice ^<1n# ^<1n#
 #ifdef CLEANUP_nice
 #undef CLEANUP_nice
 #undef FOR_yes
 #endif
 
-// zcat   aLrg[!aLrg]
+// zcat    
 #ifdef CLEANUP_zcat
 #undef CLEANUP_zcat
 #undef FOR_zcat
-#undef FLAG_g
-#undef FLAG_r
-#undef FLAG_L
-#undef FLAG_a
 #endif
 
 #ifdef FOR_acpi
 #endif
 #define FLAG_g 0
 #define FLAG_r 0
-#define FLAG_L 0
+#define FLAG_l 0
 #define FLAG_9 0
 #define FLAG_d 0
 #define FLAG_c 0
 #endif
 #endif
 
+#ifdef FOR_gunzip
+#ifndef TT
+#define TT this.gunzip
+#endif
+#define FLAG_v 0
+#define FLAG_t 0
+#define FLAG_S 0
+#define FLAG_q 0
+#define FLAG_l 0
+#define FLAG_f 0
+#define FLAG_c 0
+#endif
+
+#ifdef FOR_gzip
+#ifndef TT
+#define TT this.gzip
+#endif
+#define FLAG_z 0
+#define FLAG_R 0
+#define FLAG_L 0
+#define FLAG_g 0
+#define FLAG_v 0
+#define FLAG_t 0
+#define FLAG_S 0
+#define FLAG_q 0
+#define FLAG_l 0
+#define FLAG_f 0
+#define FLAG_c 0
+#define FLAG_d 0
+#define FLAG_9 0
+#define FLAG_1 0
+#define FLAG_d 0
+#endif
+
 #ifdef FOR_head
 #ifndef TT
 #define TT this.head
 #define FLAG_p 0
 #endif
 
-#ifdef FOR_nfsmount
-#ifndef TT
-#define TT this.nfsmount
-#endif
-#endif
-
 #ifdef FOR_nice
 #ifndef TT
 #define TT this.nice
 #ifndef TT
 #define TT this.zcat
 #endif
-#define FLAG_g 0
-#define FLAG_r 0
-#define FLAG_L 0
-#define FLAG_a 0
 #endif
 
index b5619c3..cedb0c3 100644 (file)
@@ -313,17 +313,22 @@ struct brctl_data {
 // toys/pending/compress.c
 
 struct compress_data {
-  // base offset and extra bits tables (length and distance)
+  // Huffman codes: base offset and extra bits tables (length and distance)
   char lenbits[29], distbits[30];
   unsigned short lenbase[29], distbase[30];
   void *fixdisthuff, *fixlithuff;
 
+  // CRC
   void (*crcfunc)(char *data, int len);
-  unsigned crc, len;
+  unsigned crc;
 
-  char *outbuf;
-  unsigned outlen;
-  int outfd;
+  // Compressed data buffer
+  char *data;
+  unsigned pos, len;
+  int fd;
+
+  // Tables only used for deflation
+  unsigned short *head, *chain;
 };
 
 // toys/pending/crond.c
index 2bbb1b4..706f7dc 100644 (file)
@@ -38,9 +38,7 @@
 
 #define help_passwd "usage: passwd [-a ALGO] [-dlu] <account name>\n\nupdate user's authentication tokens. Default : current user\n\n-a ALGO   Encryption method (des, md5, sha256, sha512) default: des\n-d           Set password to ''\n-l          Lock (disable) account\n-u              Unlock (enable) account\n\n"
 
-#define help_nfsmount "usage: nfsmount SHARE DIR\n\nInvoke an eldrich horror from the dawn of time.\n\n"
-
-#define help_mount "usage: mount [-afFrsvw] [-t TYPE] [-o OPTIONS...] [[DEVICE] DIR]\n\nMount new filesystem(s) on directories. With no arguments, display existing\nmounts.\n\n-a     mount all entries in /etc/fstab (with -t, only entries of that TYPE)\n-O        only mount -a entries that have this option\n-f fake it (don't actually mount)\n-r      read only (same as -o ro)\n-w   read/write (default, same as -o rw)\n-t specify filesystem type\n-v     verbose\n\nOPTIONS is a comma separated list of options, which can also be supplied\nas --longopts.\n\nThis mount autodetects loopback mounts (a file on a directory) and\nbind mounts (file on file, directory on directory), so you don't need\nto say --bind or --loop. You can also \"mount -a /path\" to mount everything\nin /etc/fstab under /path, even if it's noauto.\n\n"
+#define help_mount "usage: mount [-afFrsvw] [-t TYPE] [-o OPTIONS...] [[DEVICE] DIR]\n\nMount new filesystem(s) on directories. With no arguments, display existing\nmounts.\n\n-a     mount all entries in /etc/fstab (with -t, only entries of that TYPE)\n-O        only mount -a entries that have this option\n-f fake it (don't actually mount)\n-r      read only (same as -o ro)\n-w   read/write (default, same as -o rw)\n-t specify filesystem type\n-v     verbose\n\nOPTIONS is a comma separated list of options, which can also be supplied\nas --longopts.\n\nThis mount autodetects loopback mounts (a file on a directory) and\nbind mounts (file on file, directory on directory), so you don't need\nto say --bind or --loop. You can also \"mount -a /path\" to mount everything\nin /etc/fstab under /path, even if it's noauto.\n\n\n"
 
 #define help_mktemp "usage: mktemp [-dq] [-p DIR] [TEMPLATE]\n\nSafely create new file and print its name. Default TEMPLATE is\n/tmp/tmp.XXXXXX and each trailing X is replaced with random char.\n\n-d, --directory        Create directory instead of file\n-p DIR, --tmpdir=DIR   Put new file in DIR\n-q                     Quiet\n\n"
 
 
 #define help_fdisk "usage: fdisk [-lu] [-C CYLINDERS] [-H HEADS] [-S SECTORS] [-b SECTSZ] DISK\n\nChange partition table\n\n-u            Start and End are in sectors (instead of cylinders)\n-l            Show partition table for each DISK, then exit\n-b size       sector size (512, 1024, 2048 or 4096)\n-C CYLINDERS  Set number of cylinders/heads/sectors\n-H HEADS\n-S SECTORS\n\n"
 
-#define help_expr "usage: expr args\n\nEvaluate expression and print result.\n\nThe supported operators, in order of increasing precedence, are:\n\n| & = > >= < <= != + - * / %\n\nIn addition, parentheses () are supported for grouping.\n\n"
+#define help_expr "usage: expr args\n\nEvaluate expression and print result.\n\nThe supported operators, in order of increasing precedence, are:\n\n| & = > >= < <= != + - * / % :\n\nIn addition, parentheses () are supported for grouping.\n\n"
 
 #define help_dumpleases "usage: dumpleases [-r|-a] [-f LEASEFILE]\n\nDisplay DHCP leases granted by udhcpd\n-f FILE,  Lease file\n-r        Show remaining time\n-a        Show expiration time\n\n"
 
 
 #define help_crond "usage: crond [-fbS] [-l N] [-d N] [-L LOGFILE] [-c DIR]\n\nA daemon to execute scheduled commands.\n\n-b Background (default)\n-c crontab dir\n-d Set log level, log to stderr\n-f Foreground\n-l Set log level. 0 is the most verbose, default 8\n-S Log to syslog (default)\n-L Log to file\n\n"
 
+#define help_gunzip "usage: gunzip [-cflqStv] [FILE...]\n\nDecompess (deflate) file(s). With no files, compress stdin to stdout.\n\nOn successful decompression, compressed files are replaced with the\nuncompressed version. The input file is removed and replaced with\na new file without the .gz extension (with same ownership/permissions).\n\n-c      cat to stdout (act as zcat)\n-f force (output file exists, input is tty, unrecognized extension)\n-l    list compressed/uncompressed/ratio/name for each input file.\n-q        quiet (no warnings)\n-S specify exension (default .*)\n-t       test compressed file(s)\n-v     verbose (like -l, but decompress files)\n\n"
+
 #define help_zcat "usage: zcat [FILE...]\n\nDecompress deflated file(s) to stdout\n\n"
 
-#define help_compress "usage: compress [-zglrcd9] [FILE]\n\nCompress or decompress file (or stdin) using \"deflate\" algorithm.\n\n-c  compress with -g gzip (default)  -L zlib  -r raw  -z zip\n-d    decompress (autodetects type)\n\n"
+#define help_decompress "usage: compress [-zglrcd9] [FILE]\n\nCompress or decompress file (or stdin) using \"deflate\" algorithm.\n\n-c        compress with -g gzip (default)  -l zlib  -r raw  -z zip\n-d    decompress (autodetects type)\n\n\n"
+
+#define help_gzip_d "usage: gzip [-d]\n\n-d    decompress (act as gunzip)\n\n"
+
+#define help_gzip "usage: gzip [-19cfqStvzgLR] [FILE...]\n\nCompess (deflate) file(s). With no files, compress stdin to stdout.\n\nOn successful decompression, compressed files are replaced with the\nuncompressed version. The input file is removed and replaced with\na new file without the .gz extension (with same ownership/permissions).\n\n-1       Minimal compression (fastest)\n-9       Max compression (default)\n-c   cat to stdout (act as zcat)\n-f force (if output file exists, input is tty, unrecognized extension)\n-q quiet (no warnings)\n-S specify exension (default .*)\n-t       test compressed file(s)\n-v     verbose (like -l, but compress files)\n\nCompression type:\n-g gzip (default)    -L zlib    -R raw    -z zip\n\n"
+
+#define help_compress "usage: compress [-zgLR19] [FILE]\n\nCompress or decompress file (or stdin) using \"deflate\" algorithm.\n\n-1   min compression\n-9     max compression (default)\n-g   gzip (default)\n-L      zlib\n-R        raw\n-z zip\n\n"
 
 #define help_brctl "usage: brctl COMMAND [BRIDGE [INTERFACE]]\n\nManage ethernet bridges\n\nCommands:\nshow                  Show a list of bridges\naddbr BRIDGE          Create BRIDGE\ndelbr BRIDGE          Delete BRIDGE\naddif BRIDGE IFACE    Add IFACE to BRIDGE\ndelif BRIDGE IFACE    Delete IFACE from BRIDGE\nsetageing BRIDGE TIME Set ageing time\nsetfd BRIDGE TIME     Set bridge forward delay\nsethello BRIDGE TIME  Set hello time\nsetmaxage BRIDGE TIME Set max message age\nsetpathcost BRIDGE PORT COST   Set path cost\nsetportprio BRIDGE PORT PRIO   Set port priority\nsetbridgeprio BRIDGE PRIO      Set bridge priority\nstp BRIDGE [1/yes/on|0/no/off] STP on/off\n\n"
 
index 376438f..37e8e8a 100644 (file)
@@ -25,7 +25,7 @@ USE_CKSUM(NEWTOY(cksum, "HIPLN", TOYFLAG_BIN))
 USE_CLEAR(NEWTOY(clear, NULL, TOYFLAG_USR|TOYFLAG_BIN))
 USE_CMP(NEWTOY(cmp, "<2>2ls", TOYFLAG_USR|TOYFLAG_BIN))
 USE_COMM(NEWTOY(comm, "<2>2321", TOYFLAG_USR|TOYFLAG_BIN))
-USE_COMPRESS(NEWTOY(compress, "zcd9Lrg[-cd][!zgLr]", TOYFLAG_USR|TOYFLAG_BIN))
+USE_COMPRESS(NEWTOY(compress, "zcd9lrg[-cd][!zgLr]", TOYFLAG_USR|TOYFLAG_BIN))
 USE_COUNT(NEWTOY(count, NULL, TOYFLAG_USR|TOYFLAG_BIN))
 USE_CP(NEWTOY(cp, "<2RHLPp"USE_CP_MORE("rdaslvnF")"fi[-HLPd]"USE_CP_MORE("[-ni]"), TOYFLAG_BIN))
 USE_CPIO(NEWTOY(cpio, "mduH:p:|i|t|F:v(verbose)o|[!pio][!pot][!pF]", TOYFLAG_BIN))
@@ -72,6 +72,8 @@ USE_GREP(NEWTOY(grep, "ZzEFHabhinorsvwclqe*f*m#x[!wx][!EFw]", TOYFLAG_BIN))
 USE_GROUPADD(NEWTOY(groupadd, "<1>2g#<0S", TOYFLAG_NEEDROOT|TOYFLAG_SBIN))
 USE_GROUPDEL(NEWTOY(groupdel, "<1>2", TOYFLAG_NEEDROOT|TOYFLAG_SBIN))
 USE_GROUPS(OLDTOY(groups, id, NULL, TOYFLAG_USR|TOYFLAG_BIN))
+USE_GUNZIP(NEWTOY(gunzip, "cflqStv", TOYFLAG_USR|TOYFLAG_BIN))
+USE_GZIP(NEWTOY(gzip, USE_GZIP_D("d")"19dcflqStvgLRz[!gLRz]", TOYFLAG_USR|TOYFLAG_BIN))
 USE_REBOOT(OLDTOY(halt, reboot, "n", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
 USE_HEAD(NEWTOY(head, "n#<0=10", TOYFLAG_BIN))
 USE_HELLO(NEWTOY(hello, 0, TOYFLAG_USR|TOYFLAG_BIN))
@@ -125,14 +127,13 @@ USE_MODINFO(NEWTOY(modinfo, "<1b:k:F:0", TOYFLAG_BIN))
 USE_MODPROBE(NEWTOY(modprobe, "alrqvsDb", TOYFLAG_SBIN))
 USE_MORE(NEWTOY(more, NULL, TOYFLAG_USR|TOYFLAG_BIN))
 USE_MOUNT(NEWTOY(mount, "?O:afnrvwt:o*[-rw]", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_STAYROOT))
-USE_MOUNTPOINT(NEWTOY(mountpoint, "<1qdx", TOYFLAG_BIN))
+USE_MOUNTPOINT(NEWTOY(mountpoint, "<1qdx[-dx]", TOYFLAG_BIN))
 USE_CP_MV(OLDTOY(mv, cp, "<2"USE_CP_MORE("vnF")"fi"USE_CP_MORE("[-ni]"), TOYFLAG_BIN))
 USE_NBD_CLIENT(OLDTOY(nbd-client, nbd_client, OPTSTR_nbd_client, TOYFLAG_USR|TOYFLAG_BIN))
 USE_NBD_CLIENT(NEWTOY(nbd_client, "<3>3ns", 0))
 USE_NETCAT(OLDTOY(nc, netcat, USE_NETCAT_LISTEN("tl^L^")"w#p#s:q#f:", TOYFLAG_BIN))
 USE_NETCAT(NEWTOY(netcat, USE_NETCAT_LISTEN("tl^L^")"w#p#s:q#f:", TOYFLAG_BIN))
 USE_NETSTAT(NEWTOY(netstat, "pWrxwutneal", TOYFLAG_BIN))
-USE_NFSMOUNT(NEWTOY(nfsmount, "?<2>2", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_STAYROOT))
 USE_NICE(NEWTOY(nice, "^<1n#", TOYFLAG_USR|TOYFLAG_BIN))
 USE_NL(NEWTOY(nl, "v#<1=1l#b:n:s:w#<0=6E", TOYFLAG_BIN))
 USE_NOHUP(NEWTOY(nohup, "<1^", TOYFLAG_USR|TOYFLAG_BIN))
@@ -233,4 +234,4 @@ USE_WHOAMI(OLDTOY(whoami, id, ">0", TOYFLAG_BIN))
 USE_XARGS(NEWTOY(xargs, "^I:E:L#ptxrn#<1s#0", TOYFLAG_USR|TOYFLAG_BIN))
 USE_XZCAT(NEWTOY(xzcat, NULL, TOYFLAG_USR|TOYFLAG_BIN))
 USE_YES(NEWTOY(yes, NULL, TOYFLAG_USR|TOYFLAG_BIN))
-USE_COMPRESS(NEWTOY(zcat, "aLrg[!aLrg]", TOYFLAG_USR|TOYFLAG_BIN))
+USE_ZCAT(NEWTOY(zcat, 0, TOYFLAG_USR|TOYFLAG_BIN))
index 27516a8..eb7f030 100644 (file)
@@ -15,7 +15,7 @@
 #define OPTSTR_cksum   "HIPLN"
 #define OPTSTR_cmp     "<2>2ls"
 #define OPTSTR_comm    "<2>2321"
-#define OPTSTR_compress        "zcd9Lrg[-cd][!zgLr]"
+#define OPTSTR_compress        "zcd9lrg[-cd][!zgLr]"
 #define OPTSTR_cp      "<2RHLPp"USE_CP_MORE("rdaslvnF")"fi[-HLPd]"USE_CP_MORE("[-ni]")
 #define OPTSTR_cpio    "mduH:p:|i|t|F:v(verbose)o|[!pio][!pot][!pF]"
 #define OPTSTR_crond   "fbSl#<0=8d#<0L:c:[-bf][-LS][-ld]"
@@ -48,6 +48,7 @@
 #define OPTSTR_grep    "ZzEFHabhinorsvwclqe*f*m#x[!wx][!EFw]"
 #define OPTSTR_groupadd        "<1>2g#<0S"
 #define OPTSTR_groupdel        "<1>2"
+#define OPTSTR_gunzip  "cflqStv"
 #define OPTSTR_head    "n#<0=10"
 #define OPTSTR_help    ""USE_HELP_EXTRAS("ah")
 #define OPTSTR_host    "<1>2avt:"
 #define OPTSTR_modinfo "<1b:k:F:0"
 #define OPTSTR_modprobe        "alrqvsDb"
 #define OPTSTR_mount   "?O:afnrvwt:o*[-rw]"
-#define OPTSTR_mountpoint      "<1qdx"
+#define OPTSTR_mountpoint      "<1qdx[-dx]"
 #define OPTSTR_nbd_client      "<3>3ns"
 #define OPTSTR_netstat "pWrxwutneal"
-#define OPTSTR_nfsmount        "?<2>2"
 #define OPTSTR_nice    "^<1n#"
 #define OPTSTR_nl      "v#<1=1l#b:n:s:w#<0=6E"
 #define OPTSTR_nohup   "<1^"
 #define OPTSTR_which   "<1a"
 #define OPTSTR_who     "a"
 #define OPTSTR_xargs   "^I:E:L#ptxrn#<1s#0"
-#define OPTSTR_zcat    "aLrg[!aLrg]"
diff --git a/pty.h b/pty.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/shadow.h b/shadow.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/utmpx.h b/utmpx.h
new file mode 100644 (file)
index 0000000..e69de29