diff options
author | Rob Landley <rob@landley.net> | 2015-12-10 15:57:08 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-12-10 15:57:08 -0600 |
commit | aaecbbac2f94b7a93eb2df7f9db78828cbb7b647 (patch) | |
tree | ac2a23d038113e359b583e042170d9d319690cf2 /toys.h | |
parent | 5cb65054067391af7602bc303d77349c76648faf (diff) | |
download | toybox-aaecbbac2f94b7a93eb2df7f9db78828cbb7b647.tar.gz |
Expand toys.optargs to 64 bits so people adding more options to ls don't run out.
Keep the low 32 bits of FLAG_x constants as 32 bit numbers so that at least
on little endian platforms it's still normal 32 bit math outside of lib/args.c.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -122,7 +122,7 @@ extern struct toy_context { struct toy_list *which; // Which entry in toy_list is this one? char **argv; // Original command line arguments char **optargs; // Arguments left over from get_optflags() - unsigned optflags; // Command line option flags from get_optflags() + unsigned long long optflags; // Command line option flags from get_optflags() int exitval; // Value error_exit feeds to exit() int optc; // Count of optargs int old_umask; // Old umask preserved by TOYFLAG_UMASK |