summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2015-11-16rename link to name to avoid shadowing the functionTed Unangst
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-11fix pledge error messageTheo de Raadt
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-06add [ to NAME, and document it; the NAME addition wasJason McIntyre
proposed by ingo a while back but never got committed; ok schwarze
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-04replace setbuf with setvbuf, from Frederic NowakTed Unangst
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-28unifdef _PATH_*Christian Weisgerber
2015-10-26miscellaneous cruft:Christian Weisgerber
* remove lint * unifdef S_IFLNK, S_ISFIFO, S_ISLNK, S_ISSOCK, O_APPEND * remove 0, NOTUSED, notdef -- untouched since original import * remove IIASA
2015-10-26remove the profiling and debugging ifdefs; ok zhuk@Christian Weisgerber
2015-10-26document the -p and -l file enquiries and explicitly do not document -sChristian Weisgerber
with/ok schwarze@
2015-10-26Remove the #define Strfoo() s_strfoo() redirection and move everythingChristian Weisgerber
directly to Strfoo(). Purely mechanical. ok deraadt@
2015-10-26Clean up cruft made visible by the NLS unifdefing:Christian Weisgerber
* remove setlocale() calls * remove write-only variable AsciiOnly * remove now unused string constants STRLANG, STRLC_CTYPE * remove hardcoded support for ISO8859-1 ok millert@
2015-10-26unifdef BUILTIN (unused), NLS (always set), SHORT_STRINGS (always set)Christian Weisgerber
and remove a few unused defines; no binary changes; ok tedu@ zhuk@
2015-10-25strvis directory names in psDmitrij Czarkoff
OK stsp@
2015-10-25need "getpw" pledge; spotted by matthieuTheo de Raadt
2015-10-25POSIX says that you can't capture the return value of sigsetjmp().Philip Guenther
Fortunately, we don't need it as we only pass siglongjmp() a single value. ok deraadt@
2015-10-23Remove three strange and unused preproc defines. Submitted by Ilyammcc
Kaliman. ok nicm@
2015-10-23With new pledge "ps" and "vminfo" requests, ps/top/w become possible.Theo de Raadt
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-23correct precedence; from Ilya KalimanTheo de Raadt
2015-10-22document tid keyword.Sebastian Benoit
found with and ok bluhm@
2015-10-22Final removal of EXTERN.mmcc
ok nicm@
2015-10-22setlocale() before pledge()... until we learn moreTheo de Raadt
2015-10-22Fix typo in comment. From Theo Buehler.mmcc
2015-10-21Style fixes; from Ilya KalimanTodd C. Miller
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@