Rob Landley
|
eee419c1d7
flags.h can #define its own CLEANUP_ macros for the next #include
|
2 năm trước cách đây |
Rob Landley
|
ef363a8af2
Add LL to 0 to prevent gcc from warning that 0<<32 might produce 0.
|
2 năm trước cách đây |
Rob Landley
|
52bbc1e0a4
Allow 0 prefix to optstr to include argv[0] in optargs[0].
|
3 năm trước cách đây |
Rob Landley
|
1934fddf3e
Fix off by one error that treats bit 31 as negative (so ls --color sets
|
4 năm trước cách đây |
Elliott Hughes
|
f428c2cc6f
mkflags: fix a sscanf buffer off-by-one.
|
4 năm trước cách đây |
Rob Landley
|
81207825c5
Fix various warnings building on FreeBSD.
|
5 năm trước cách đây |
Rob Landley
|
831266c068
Teach the argument plumbing how to do -@ for mkfs.vfat
|
5 năm trước cách đây |
Rob Landley
|
5a670c5883
Simplify the mkflags logic a bit.
|
5 năm trước cách đây |
Rob Landley
|
07a3b91920
Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo
|
5 năm trước cách đây |
Rob Landley
|
aa265ebff4
Ryan Prichard pointed out that du -d0 should act like du -s, but the plumbing
|
6 năm trước cách đây |
Rob Landley
|
c187be7b6c
Thinko in recent longopt commit.
|
7 năm trước cách đây |
Rob Landley
|
0322afbc01
Bugfix: configuring out a longopt confused the option parsing.
|
7 năm trước cách đây |
Rob Landley
|
48ea559699
The recent option parsing changes broke the multiplexer, because the "toybox"
|
8 năm trước cách đây |
Rob Landley
|
adef5dcb18
Add optional openssl accelerated versions of hash functions, loosely based on
|
8 năm trước cách đây |
Rob Landley
|
ec0b482e9f
Fix option parsing infrastructure bug.
|
8 năm trước cách đây |
Rob Landley
|
36b7cb7c3b
Implement basic pkill plumbing, and fix FORCE_FLAGS on flag context switch.
|
8 năm trước cách đây |
Rob Landley
|
aaecbbac2f
Expand toys.optargs to 64 bits so people adding more options to ls don't run out.
|
8 năm trước cách đây |
Rob Landley
|
6fde0f9be2
Build updates: make change should use top level .config for global settings,
|
8 năm trước cách đây |
Isaac Dunham
|
79191b6c48
scripts/mkflags.c: add missing unistd.h, ctype.h
|
9 năm trước cách đây |
Rob Landley
|
5640acb50d
If a shortopt is configured out right before a bare longopt, the option parsing infrastructure segfaults because there's no next shortopt but the list isn't empty. (There was a test for this, but we're simultaneously traversing two lists and it was testing the wrong one.)
|
9 năm trước cách đây |
Hyejin Kim
|
3b741474b7
scripts/mkflags.c : main function need return 0 if normal exit
|
9 năm trước cách đây |
Rob Landley
|
f3e56f4e4f
Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag macros for a disabled command (needed when multiple commands share infrastructure with a common set of flags).
|
9 năm trước cách đây |
Rob Landley
|
3a41541347
Catch duplicate command name (which breaks the build already, but doesn't identify the culprit).
|
10 năm trước cách đây |
Ashwini Sharma
|
882ca8bf5b
_mkflags_ had an issue for generating FLAG_xxxx macros for long options.
|
10 năm trước cách đây |
Ashwini Sharma
|
64f6164088
There are cases when the long options are of the format abc-def. In current implementation FLAG_xxx macros are generated for long options too. with __-__ sign in the macro, it will generate errors.
|
10 năm trước cách đây |
Rob Landley
|
6ebe03d616
Put all FOR_xxx blocks after all CLEANUP_xxx in generated/flags.h so the usages don't have to be in alphabetical order.
|
10 năm trước cách đây |
Rob Landley
|
a2359011a8
Make CLEANUP transitions work, so multiple NEWTOY() can exist in the same file.
|
10 năm trước cách đây |
Rob Landley
|
1fb3ae7075
Various cleanups found by Tom Sparrow's static analysis.
|
10 năm trước cách đây |
Rob Landley
|
5a2583ac4f
Fix segfault with single build of a command with bare longopts.
|
10 năm trước cách đây |
Rob Landley
|
207cadacd3
Switch flag generation from shell to C.
|
10 năm trước cách đây |