Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-10-07 | suppose we should fix csh while we're at it. | Ted Unangst | |
2016-08-14 | Don't reinvent rlim_t; when printing it use %llu and cast to | Philip Guenther | |
unsigned long long ok natano@ tedu@ | |||
2016-08-14 | Don't call sysconf() in a loop conditional when the loop won't affect it | Philip Guenther | |
ok natano@ tedu@ | |||
2016-04-16 | Change last non-/gnu/ fcntl(x, F_GETFL, 0) strays to fcntl(x, F_GETFL). | Kenneth R Westerback | |
No functional change. ok millert@ | |||
2016-03-20 | Use fcntl(fd, F_SETFL, flags) to clear O_NONBLOCK instead of | Todd C. Miller | |
ioctl(fd, FIONBIO, ...). OK krw@ | |||
2016-03-19 | Turn off the close-on-exec bit with fcntl() instead of ioctl(). | Kenneth R Westerback | |
Remove some now useless "#include <ioctl.h>" lines. Inspired by & ok millert@ | |||
2016-03-18 | Replace ioctl(fd, FIOCLEX) with fcntl(fd, F_SETFD, FD_CLOEXEC) | Todd C. Miller | |
No functional change. "I like the idea" from guenther@ | |||
2015-12-26 | Replace handrolled xfree() function by directly using free(3) | mestre | |
OK mmcc@ | |||
2015-12-22 | Remove a needless allocation cast. No binary change. | mmcc | |
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-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-22 | setlocale() before pledge()... until we learn more | Theo de Raadt | |
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-09-29 | Score a hat trick in code cleanup: #ifdef pdp11, /* confuse lint */, | Philip Guenther | |
and recursive formatting of integers. Just use snprintf() and a hammer. ok beck@ deraadt@ miod@ | |||
2015-09-27 | lint is dead: delete the trivial uses of /* VARARGS[0-9]+ */ | Philip Guenther | |
(others require more care) | |||
2015-06-17 | stray char jumped in | Theo de Raadt | |
2015-06-17 | delete completely bogus (floating? was there an old variable decl | Theo de Raadt | |
in the past?) comment about FILEC noted by Peter Brottveit Bock | |||
2015-06-17 | remove -DFILEC; code does not compile for the -UFILEC case, and anyways, | Theo de Raadt | |
who wants csh without FILEC?? from Peter Brottveit Bock, but redone using unifdef | |||
2015-06-03 | better description of internal copyn() function | Theo de Raadt | |
2015-04-18 | Convert many atoi() calls to strtonum(), adding range checks and failure | Theo de Raadt | |
handling along the way. Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert | |||
2015-02-28 | Reduce usage of predefined strings in manpages. | Anthony J. Bentley | |
Predefined strings are not very portable across troff implementations, and they make the source much harder to read. Usually the intended character can be written directly. No output changes, except for two instances where the incorrect escape was used in the first place. tweaks + ok schwarze@ | |||
2015-02-08 | delete tons more casts | Ted Unangst | |
2015-02-08 | remove ptr_t typedef. void * is good enough for csh. | Ted Unangst | |
2015-02-08 | delete many more ptr_t casts | Ted Unangst | |
2015-02-08 | delete lots of unnecessary ptr_t casts, and drop a little NULL in as well | Ted Unangst | |
2015-02-08 | it's safe to call free with null | Ted Unangst | |
2015-01-19 | remove #ifndef #define blocks trying to handle lack of BUFSIZ | Theo de Raadt | |
ok millert | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2015-01-15 | remove .Tn; from Jan Stary <hans at stare dot cz> | Ingo Schwarze | |
2014-12-09 | put back some information what the character classes actually mean; | Ingo Schwarze | |
while here, remove the lie that regex(3) character classes would depend on the locale; ok jmc@ | |||
2014-12-09 | no more ctype(3); | Jason McIntyre | |
2014-10-17 | no need for realloc() front ends anymore | Theo de Raadt | |
2014-10-16 | Use reallocarray() and remove a few archaic memory allocation practices. | Theo de Raadt | |
ok deraadt | |||
2014-10-16 | Kill the alloc command, which tried to measure behaviour based on sbrk. | Theo de Raadt | |
Discussed with guenther. | |||
2014-10-13 | remove unused variable | Charles Longeau | |
ok guenther@ | |||
2014-07-14 | Instead of using a variable format string to change the field width, | Philip Guenther | |
use %*s and just put the width in a variable | |||
2014-07-12 | If a constant string needs a name, use a static const array instead | Philip Guenther | |
of a pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. | |||
2014-07-11 | correct readlink termination. from Doug Hogan | Ted Unangst | |
2014-01-21 | obvious .Pa fixes; found with mandocdb(8) | Ingo Schwarze | |
2013-10-20 | catch up with elf(5)/stab(5) removal; | Jason McIntyre | |
ok miod | |||
2013-10-19 | fix a few obvious .Ar markup errors (unfortunately, there are many more) | Ingo Schwarze | |
found while working on mandoc apropos | |||
2013-08-22 | Correct format string mismatches turned up by -Wformat=2 | Philip Guenther | |
suggestions and ok millert@ | |||
2013-07-13 | Remove no longer needed vax CFLAGS workarounds. | Miod Vallat | |
2013-04-16 | handle larger time_t types | Theo de Raadt | |