Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-04 | replace setbuf with setvbuf, from Frederic Nowak | Ted Unangst | |
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-28 | unifdef _PATH_* | Christian Weisgerber | |
2015-10-26 | miscellaneous 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-26 | remove the profiling and debugging ifdefs; ok zhuk@ | Christian Weisgerber | |
2015-10-26 | document the -p and -l file enquiries and explicitly do not document -s | Christian Weisgerber | |
with/ok schwarze@ | |||
2015-10-26 | Remove the #define Strfoo() s_strfoo() redirection and move everything | Christian Weisgerber | |
directly to Strfoo(). Purely mechanical. ok deraadt@ | |||
2015-10-26 | Clean 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-26 | unifdef 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-25 | strvis directory names in ps | Dmitrij Czarkoff | |
OK stsp@ | |||
2015-10-25 | need "getpw" pledge; spotted by matthieu | Theo de Raadt | |
2015-10-25 | POSIX 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-23 | Remove three strange and unused preproc defines. Submitted by Ilya | mmcc | |
Kaliman. ok nicm@ | |||
2015-10-23 | With new pledge "ps" and "vminfo" requests, ps/top/w become possible. | Theo de Raadt | |
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-23 | correct precedence; from Ilya Kaliman | Theo de Raadt | |
2015-10-22 | document tid keyword. | Sebastian Benoit | |
found with and ok bluhm@ | |||
2015-10-22 | Final removal of EXTERN. | mmcc | |
ok nicm@ | |||
2015-10-22 | setlocale() before pledge()... until we learn more | Theo de Raadt | |
2015-10-22 | Fix typo in comment. From Theo Buehler. | mmcc | |
2015-10-21 | Style fixes; from Ilya Kaliman | Todd C. Miller | |
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-18 | With TIOCSTI supported in pledge "tty proc", csh is good enough to run | Theo de Raadt | |
with pledge "stdio rpath wpath cpath fattr getpw proc exec tty". (Note that ksh "emacs mode" is also a abus^Wconsumer of TIOCSTI, but we had let that slide for a week since noone uses it...) | |||
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@ |