hush/shell
Stephen Heumann 52c59f6da1 Properly reset getopt in each invocation of getopt32() on BSD-type systems, including GNO and OS X.
Also, fix issue where callers of getopt32() weren't properly detecting errors on GNO due to a size mismatch.

This avoids strange behavior when commands using getopt32 (like export) are invoked multiple times, sometimes with invalid arguments.
2014-12-02 15:31:50 -06:00
..
hush_test hush: make ${#var} unicode-aware 2014-08-13 09:57:44 +02:00
fnmatch.c Add our own implementation of fnmatch (taken from NetBSD), because the one in GNO 2.0.6's libc is broken. 2014-11-18 20:51:04 -06:00
glob.c In glob, factor out "stat" call and structure to a separate function. This reduces stack usage in the recursive glob function. 2014-11-20 21:08:21 -06:00
glob.h Include glob implementation from dietlibc. 2014-11-01 14:27:52 -05:00
hush.c Properly reset getopt in each invocation of getopt32() on BSD-type systems, including GNO and OS X. 2014-12-02 15:31:50 -06:00
hushleaktool.sh Move all the source files to 15-character ProDOS-compatible file names. 2014-11-02 22:11:07 -06:00
match.c shell/match.c: shrink by dropping double bool inversion 2010-09-12 15:06:42 +02:00
match.h Miscellaneous changes for ORCA/C and GNO compatibility, mainly removing C99isms. 2014-11-01 09:46:02 -05:00
math.c Merge commit 'f5add44981b43490376ea0dfed1420dba09a3a75' 2014-11-19 18:49:57 -06:00
math.h move endofname() to libbb 2013-02-26 00:36:53 +01:00
random.c More GNO and ORCA/C compatibility fixes. 2014-11-01 18:25:21 -05:00
random.h ash,hush: improve randomness of $RANDOM, add easy-ish way to test it 2014-03-13 12:52:43 +01:00
shell.common.c In redirection operations, map fds 0/1/2 to 1/2/3 so they work as stdin/stdout/stderr, preserving compatibility with Unix shell scripts. 2014-11-20 23:12:01 -06:00
shell.common.h Move all the source files to 15-character ProDOS-compatible file names. 2014-11-02 22:11:07 -06:00