Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-20 | remove unused prototype | tb | |
ok mmcc@ | |||
2015-11-18 | Only unget match[] if it has been used, ok sthen | Nicholas Marriott | |
2015-11-12 | use symbolics for flags to open | Theo de Raadt | |
from Ricardo Mestre | |||
2015-11-12 | Use isdigit() instead of ksh's homebrewed alternative. | mmcc | |
ok nicm@. Also discussed with millert@ and guenther@. | |||
2015-11-11 | exit() after perror() for pledge failure. Perhaps this got introduced | Theo de Raadt | |
as a test idiom, either when pledge was young or during the transition to strings.... dunno | |||
2015-11-09 | add missing NAME entries; ok schwarze | Jason McIntyre | |
2015-11-08 | Tweak a reallocarray call to be more overflow-resistant. From Theo Buehler. | mmcc | |
ok nicm@ | |||
2015-11-07 | Make it clearer that warningf()'s first argument determines whether the | mmcc | |
lineno is printed. ok nicm@ | |||
2015-11-05 | Capitalize entire macro name. | mmcc | |
ok nicm@ | |||
2015-11-05 | Clean up an Xstring macro. Submitted by Theo Buehler. | mmcc | |
ok and suggestions from nicm@ | |||
2015-11-05 | Remove an alias for a macro. | mmcc | |
ok nicm@ | |||
2015-11-02 | Another aresize() -> areallocarray(). | mmcc | |
ok nicm@ | |||
2015-11-01 | aresize() -> areallocarray() | mmcc | |
ok nicm@ | |||
2015-11-01 | Remove two casts of void* return types. | mmcc | |
2015-11-01 | Drop a needless cast of a void *. | mmcc | |
2015-11-01 | Add uses of areallocarray(). mksh and Bitrig ksh already have similar | mmcc | |
functions. With help from Theo Buehler. ok nicm@ | |||
2015-10-30 | zap trailing whitespace; | Jason McIntyre | |
2015-10-30 | Try to clarify the fc section a tad; fc apprently stands for "fix command". | Todd C. Miller | |
Also the "fc -e -" syntax is obsoleted by "fc -s". OK tedu@ | |||
2015-10-30 | 'fc -e -' is deprecated in favor of 'fc -s', so update the built-in alias | Philip Guenther | |
ok millert@ | |||
2015-10-23 | Remove three strange and unused preproc defines. Submitted by Ilya | mmcc | |
Kaliman. ok nicm@ | |||
2015-10-23 | Remove two comments listing functionless files. Trivial, no functional | mmcc | |
change. | |||
2015-10-23 | proto.h contains many function prototypes. It's apparently separate from | mmcc | |
sh.h because the pdksh devs used a prototype generator (last run in 1992). Merging it into sh.h makes things clearer. ok nicm@ | |||
2015-10-22 | Final removal of EXTERN. | mmcc | |
ok nicm@ | |||
2015-10-22 | Fix typo in comment. From Theo Buehler. | mmcc | |
2015-10-21 | Remove a couple of unhelpful defines. | mmcc | |
ok nicm@ | |||
2015-10-21 | Don't bother casting NULL. | mmcc | |
ok nicm@ | |||
2015-10-21 | Assign pointer to NULL rather than 0. | mmcc | |
ok nicm@ | |||
2015-10-21 | Penultimate commit to remove EXTERN. | mmcc | |
ok nicm@ | |||
2015-10-19 | Remove the define NOT, replace it with '!'. No binary change. | mmcc | |
"The ^ is used in regular expressions and many versions of fnmatch(3) accept both ! and ^. However, we are never going to accept ^ instead of ! so I think this makes sense" -millert@ "go for it" -nicm@ | |||
2015-10-19 | A little style(9) for sh.h includes | mmcc | |
ok nicm@ | |||
2015-10-19 | Move stddef.h include from sh.h to the file that uses it. | mmcc | |
ok nicm@ | |||
2015-10-19 | Move string.h include from sh.h to the files that use it. | mmcc | |
ok nicm@ | |||
2015-10-19 | Move limits.h include from sh.h to the files that actually need it. No | mmcc | |
binary change. ok nicm@ | |||
2015-10-19 | More removal of EXTERN. | mmcc | |
ok nicm@ | |||
2015-10-19 | Apply style(9) to header includes. | mmcc | |
ok nicm@ | |||
2015-10-18 | Move more EXTERN-defined globals from sh.h. | mmcc | |
ok nicm@ | |||
2015-10-17 | add missing underscore; from theo buehler | Jason McIntyre | |
2015-10-17 | Drop two useless defines. | mmcc | |
ok nicm@ | |||
2015-10-17 | Move a system header include from the global header (sh.h) into the | mmcc | |
files that need it. No binary change. "This looks fine" -nicm@ | |||
2015-10-17 | Change allocarray() to areallocarray(), a full reallocarray clone. All | mmcc | |
the logic is already in aresize(). "Sure" nicm@ | |||
2015-10-17 | Copy alloc()'s overflow check to aresize(). | mmcc | |
Suggested by nicm@. | |||
2015-10-16 | Change x_do_ins()'s arg type from int to size_t for correctness's sake, | mmcc | |
and to silence a compiler warning. Also remove its prototype, which is directly above its definition. ok tedu@ | |||
2015-10-16 | Move the overflow check to alloc() so that the link struct overhead can | mmcc | |
never bite us. Suggested by Theo Buehler, inspired by Bitrig's natano@. ok tedu@ | |||
2015-10-16 | Cast iscntrl()'s arg to unsigned char. | mmcc | |
ok nicm@ | |||
2015-10-16 | wrap a long line | Theo de Raadt | |
2015-10-16 | Implement real "flock" request and add it to userland programs that | Todd C. Miller | |
use pledge and file locking. OK deraadt@ | |||
2015-10-16 | Add allocarray(), an overflow-safe allocation function. | mmcc | |
We avoided reallocation support because it demands more fancy footwork to deal with the prepended link struct. This has been on my mind for a while, and a 2010 security review of mksh by the Android security team's Chris Palmer suggested it. ok nicm@. Also discussed with millert@ and tedu@. | |||
2015-10-15 | Remove three distracting aliases for NULL. | mmcc | |
ok nicm@ | |||
2015-10-15 | Remove an unused included header (sys/stat.h). | mmcc | |
2015-10-15 | Introduce an unsigned char variable for the ctype function calls. | mmcc | |
ok millert@ |