summaryrefslogtreecommitdiff
path: root/bin/ksh
AgeCommit message (Collapse)Author
2015-12-02comment typommcc
2015-11-24Revert previous tweak, pending a more complete rewording. Discussed withmmcc
halex@, sthen@, jmc@.
2015-11-22This man page uses "Note that" profusely, which is generally consideredmmcc
bad writing style. Also, add a paragraph break and split up a megasentence.
2015-11-22Don't use pdksh for self-reference and remove needless historicalmmcc
context.
2015-11-22Remove commented-out BUGS section that directs reports to long-extinctmmcc
upstream.
2015-11-21"one" -> "one or more"mmcc
2015-11-20remove unused prototypetb
ok mmcc@
2015-11-18Only unget match[] if it has been used, ok sthenNicholas Marriott
2015-11-12use symbolics for flags to openTheo de Raadt
from Ricardo Mestre
2015-11-12Use isdigit() instead of ksh's homebrewed alternative.mmcc
ok nicm@. Also discussed with millert@ and guenther@.
2015-11-11exit() after perror() for pledge failure. Perhaps this got introducedTheo de Raadt
as a test idiom, either when pledge was young or during the transition to strings.... dunno
2015-11-09add missing NAME entries; ok schwarzeJason McIntyre
2015-11-08Tweak a reallocarray call to be more overflow-resistant. From Theo Buehler.mmcc
ok nicm@
2015-11-07Make it clearer that warningf()'s first argument determines whether themmcc
lineno is printed. ok nicm@
2015-11-05Capitalize entire macro name.mmcc
ok nicm@
2015-11-05Clean up an Xstring macro. Submitted by Theo Buehler.mmcc
ok and suggestions from nicm@
2015-11-05Remove an alias for a macro.mmcc
ok nicm@
2015-11-02Another aresize() -> areallocarray().mmcc
ok nicm@
2015-11-01aresize() -> areallocarray()mmcc
ok nicm@
2015-11-01Remove two casts of void* return types.mmcc
2015-11-01Drop a needless cast of a void *.mmcc
2015-11-01Add uses of areallocarray(). mksh and Bitrig ksh already have similarmmcc
functions. With help from Theo Buehler. ok nicm@
2015-10-30zap trailing whitespace;Jason McIntyre
2015-10-30Try 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 aliasPhilip Guenther
ok millert@
2015-10-23Remove three strange and unused preproc defines. Submitted by Ilyammcc
Kaliman. ok nicm@
2015-10-23Remove two comments listing functionless files. Trivial, no functionalmmcc
change.
2015-10-23proto.h contains many function prototypes. It's apparently separate frommmcc
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-22Final removal of EXTERN.mmcc
ok nicm@
2015-10-22Fix typo in comment. From Theo Buehler.mmcc
2015-10-21Remove a couple of unhelpful defines.mmcc
ok nicm@
2015-10-21Don't bother casting NULL.mmcc
ok nicm@
2015-10-21Assign pointer to NULL rather than 0.mmcc
ok nicm@
2015-10-21Penultimate commit to remove EXTERN.mmcc
ok nicm@
2015-10-19Remove 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-19A little style(9) for sh.h includesmmcc
ok nicm@
2015-10-19Move stddef.h include from sh.h to the file that uses it.mmcc
ok nicm@
2015-10-19Move string.h include from sh.h to the files that use it.mmcc
ok nicm@
2015-10-19Move limits.h include from sh.h to the files that actually need it. Nommcc
binary change. ok nicm@
2015-10-19More removal of EXTERN.mmcc
ok nicm@
2015-10-19Apply style(9) to header includes.mmcc
ok nicm@
2015-10-18Move more EXTERN-defined globals from sh.h.mmcc
ok nicm@
2015-10-17add missing underscore; from theo buehlerJason McIntyre
2015-10-17Drop two useless defines.mmcc
ok nicm@
2015-10-17Move a system header include from the global header (sh.h) into themmcc
files that need it. No binary change. "This looks fine" -nicm@
2015-10-17Change allocarray() to areallocarray(), a full reallocarray clone. Allmmcc
the logic is already in aresize(). "Sure" nicm@
2015-10-17Copy alloc()'s overflow check to aresize().mmcc
Suggested by nicm@.
2015-10-16Change 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-16Move the overflow check to alloc() so that the link struct overhead canmmcc
never bite us. Suggested by Theo Buehler, inspired by Bitrig's natano@. ok tedu@
2015-10-16Cast iscntrl()'s arg to unsigned char.mmcc
ok nicm@