summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2015-09-25drop useless .No, .Ns, and quotingIngo Schwarze
2015-09-25Remove EXTERN from tty.[ch], from Michael McConville. No binary change.Nicholas Marriott
2015-09-23remove CAVEATS: the information therein is already (and probably more usefully)Jason McIntyre
included at the start of this page; ok tedu
2015-09-22Make errorf() and bi_errorf() handle a NULL argument.Todd C. Miller
From Michael McConville; OK nicm@
2015-09-22sleep doesn't benefit from setting locale. we always want to parse numbersTed Unangst
as our forefathers did, and it doesn't print any error messages in need of translation. ok stsp
2015-09-22spelling;Jason McIntyre
2015-09-18Last of the (thing *)0 -> NULL, from Michael McConville. No binaryNicholas Marriott
change.
2015-09-17More (foo *)0 -> NULL, from Michael McConville. No binary change.Nicholas Marriott
2015-09-17Remove unnecessary casts, from Michael McConville. No binary change.Nicholas Marriott
2015-09-15Expand the one use of POP_INT() macro into if()s and fix some errorsNicholas Marriott
(now that llnum is long long, int needs to be sign extended on all platforms, not just when sizeof(int) < sizeof(long); and sign extend %ld, %li and %i as well as %d. Also simplify the code for %p since pointers are always sizeof (long). ok tedu
2015-09-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
ok md5
2015-09-15stop abusing null (the variable) for an empty string in output formats.Ted Unangst
from Michael McConville ok nicm
2015-09-14Avoid .Ns right after .Pf, it's pointless.Ingo Schwarze
In some cases, do additional cleanup in the immediate vicinity.
2015-09-14SIZEOF_INT is no longer needed.Nicholas Marriott
2015-09-14Replace Tflag typedef with just int; ok teduNicholas Marriott
2015-09-14these files are a combination of old, lies, and old lies. zap.Ted Unangst
ok halex
2015-09-14Apply the ancient art of tedu to ksh_limval.h. ok guentherNicholas Marriott
2015-09-14directions for using autoconf cannot be relevant.Ted Unangst
from Michael McConville
1996-08-14Import pdksh 5.2.7.Jason Downs
2015-09-13move tty_close up a bit so we can use it.Ted Unangst
combine two equiv if blocks. from Michael McConville
2015-09-13zap unused FP support. from Michael McConville. ok nicmTed Unangst
2015-09-13Describe tar's -p option correctlyPhilip Guenther
noted by trondd(at)kagu-tsuchi.com ok deraadt@
2015-09-12mark up arguments individually and drop redundant .BkIngo Schwarze
2015-09-11delete bogus escaping from ellipsis to forestall cargo cult effectsIngo Schwarze
2015-09-11Remove redundant assignmentPhilip Guenther
from Michael McConville (mmcconv1 (at) sccs.swarthmore.edu)
2015-09-10Replace newline and space defines by "\n" and " " directly, from MichaelNicholas Marriott
McConville. ok millert
2015-09-10Remove INT32 define and just use int, from Martijn van Duren and MichaelNicholas Marriott
McConville. ok deraadt
2015-09-10Kill another superfluous variable initialization; from Michael McConville.Jeremie Courreges-Anglas
2015-09-08Remove superfluous variable initialization; from Michael McConville.Jeremie Courreges-Anglas
2015-09-05Add brackets to clarify assignments that are the result of a test operator.Jonathan Gray
ok deraadt@ looks correct millert@ jung@
2015-09-01no need to check for null argv anymore. from Martijn van DurenTed Unangst
ok deraadt
2015-09-01remove casts and null checks before free. from Michael McConvilleTed Unangst
ok deraadt
2015-08-24In fastcopy(), do the required malloc() before opening input or output file.Philip Guenther
problem noted by Martijn van Duren (martijn987 (at) gmail.com)
2015-08-19Don't re-include headers pulled by "sh.h". (I actually don't like this .hTheo de Raadt
pulls in system .h pattern)
2015-08-11avoid casts of malloc() if stdlib.h is presentTheo de Raadt
2015-07-30Fix the baskslash-escaped codes ('\nnn') usage in PS1.Vadim Zhukov
Report and initial proposal from Vadim Ushakov on bugs@, tweaked by me. okay deraadt@
2015-07-28remove gratuitous castsTheo de Raadt
2015-07-20Zero-pad the seconds in the output of 'time' to make columns line upPhilip Guenther
ok pirofti@ halex@ krw@ deraadt@ jca@ doug@
2015-07-19show tame flagTheo de Raadt
2015-07-14use atomic operations on sig_atomic_t variables inside the signal handlers,Theo de Raadt
rather than sharing one variable unsafely. ok millert
2015-07-11XXX annotate another signal raceTheo de Raadt
2015-07-04Use "alternation" consistentlyfeinerer
ok jmc@
2015-06-29After removing the p_swtime from the kernel, ps always printed 0.0Alexander Bluhm
as %cpu time. Remove the calculation in ps that includes the process lifetime. Just print the p_pctcpu value, that was done before when ps was called with -C. Keep -C as a no-op for existing scripts. OK millert@
2015-06-25Put fts_close() where missing.Masao Uebayashi
Not bugs in short-lived commands that call exit() -> _exit() immediately, but for idempotency. Originally found in ls(1) by Valgrind. Changes for other commands are from deraadt@. Reviewed by me, tested in snapshots. OK deraadt@
2015-06-24Apply normal handling to atfd+path args to chflagsat(2)Philip Guenther
Problem noted by patrick keshishian (sidster (at) boxsoft.com) ok deraadt@
2015-06-22theo buehler points out that posix specifies a prompt defined using -pJason McIntyre
be reinstated when toggled off then on again; this seems to make sense, but posix is not explicit. we know that gnu ed and freebsd do reinstate the user defined prompt, but we do not. no one has yet stepped up to change this, so i'm adding a note to this effect until such a time as we do/ i have not tweaked the text for -p or "P" to allow for an easy back out if behaviour does change;
2015-06-17stray char jumped inTheo de Raadt
2015-06-17delete completely bogus (floating? was there an old variable declTheo de Raadt
in the past?) comment about FILEC noted by Peter Brottveit Bock
2015-06-17remove -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-03better description of internal copyn() functionTheo de Raadt