Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-05 | Add brackets to clarify assignments that are the result of a test operator. | Jonathan Gray | |
ok deraadt@ looks correct millert@ jung@ | |||
2015-09-01 | no need to check for null argv anymore. from Martijn van Duren | Ted Unangst | |
ok deraadt | |||
2015-09-01 | remove casts and null checks before free. from Michael McConville | Ted Unangst | |
ok deraadt | |||
2015-08-24 | In 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-19 | Don't re-include headers pulled by "sh.h". (I actually don't like this .h | Theo de Raadt | |
pulls in system .h pattern) | |||
2015-08-11 | avoid casts of malloc() if stdlib.h is present | Theo de Raadt | |
2015-07-30 | Fix 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-28 | remove gratuitous casts | Theo de Raadt | |
2015-07-20 | Zero-pad the seconds in the output of 'time' to make columns line up | Philip Guenther | |
ok pirofti@ halex@ krw@ deraadt@ jca@ doug@ | |||
2015-07-19 | show tame flag | Theo de Raadt | |
2015-07-14 | use atomic operations on sig_atomic_t variables inside the signal handlers, | Theo de Raadt | |
rather than sharing one variable unsafely. ok millert | |||
2015-07-11 | XXX annotate another signal race | Theo de Raadt | |
2015-07-04 | Use "alternation" consistently | feinerer | |
ok jmc@ | |||
2015-06-29 | After removing the p_swtime from the kernel, ps always printed 0.0 | Alexander 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-25 | Put 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-24 | Apply normal handling to atfd+path args to chflagsat(2) | Philip Guenther | |
Problem noted by patrick keshishian (sidster (at) boxsoft.com) ok deraadt@ | |||
2015-06-22 | theo buehler points out that posix specifies a prompt defined using -p | Jason 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-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-05-18 | Make TAPE=- mean stdout in tar | czarkoff | |
Some scripts and GUI ssh clients assume that tar writes to standard output by default. This changes allows enforcing such behavior by setting TAPE="-" in user profile. Also, this makes parsing argument to "-f" option and contents of TAPE environment variable consistent. OK guenther@, jmc@ and sthen@ | |||
2015-05-07 | Whoops; missed updating a setfile() call. | Philip Guenther | |
problem reported dcoppa; ok millert@ | |||
2015-05-04 | lightly document the posix option and POSIXLY_CORRECT; will sketch out | Jason McIntyre | |
in more detail once i get my head round them... | |||
2015-05-03 | Preserve times to nanosecond precision instead of just microsecond. | Philip Guenther | |
Prefer to set attributes by fd for regular files, and not follwing symlinks for others. ok brynet@ millert@ | |||
2015-05-03 | struct usave is unused, and eproc is gone; delete the former and | Philip Guenther | |
stop referencing them in comments | |||
2015-04-30 | reapply the rules of english to the option keywords: i was persuaded to undo it | Jason McIntyre | |
because the option names are case sensitive, but it just looks awful. so expect just a little more from the reader... | |||
2015-04-24 | improve wording. | Igor Sobrado | |
ok jmc@ | |||
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-04-17 | Use getint() instead of intval() for parsing the columns variable, | Theo de Raadt | |
allowing the addition of more accurate bounds and garbage checks. ok millert | |||
2015-04-17 | FALLTHROUGH in getopt is incorrect. While here use strtonum | Theo de Raadt | |
to parse tz_minuteswest. ok millert | |||
2015-04-09 | kflag and wflag don't need to be counters; wflag only needs to know if | Okan Demirmen | |
greater than 0 for its one test case. ok deraadt | |||
2015-03-31 | both rpe and zhuk pointed out some problems with my if/elf template. | Jason McIntyre | |
zhuk suggested using "condition" rather than command, and this commit reworks the loop/conditional section to do that; ok zhuk rpe | |||
2015-03-30 | on zhuk's advice, don;t talk about null: posix uses null and empty | Jason McIntyre | |
interchangeably, but we've stuck with empty; while here, sneak in an otherwsie -> otherwise | |||
2015-03-27 | clarity fix from zhuk; | Jason McIntyre | |
2015-03-26 | a little wording tweak; | Jason McIntyre | |
2015-03-26 | various fixes from rpe; | Jason McIntyre | |
2015-03-26 | from zhuk: in the for loop, show "in word ..." as optional; | Jason McIntyre | |
2015-03-26 | from zhuk: sequential and asynchronous lists may take only one item; | Jason McIntyre | |
2015-03-26 | rework the section on when different types of command are processed; | Jason McIntyre | |
zhuk pointed out the flaws in my original text, and has found many more since; | |||
2015-03-25 | Bind the Delete key (ESC[3~) to delete-char-forward | Jeremie Courreges-Anglas | |
ok mpi@ | |||
2015-03-22 | rev 1.44 accidentally changed ar_close() to give cpio the same output as pax. | Philip Guenther | |
Adjust the conditions to correct that. ok millert@ | |||
2015-03-19 | Fix IFS description. May be polished further when all consequences of | Vadim Zhukov | |
following "null is the same as empty" from POSIX are investigated. okay jmc@ | |||
2015-03-19 | Make it clear that it's the line who shouldn't be empty, and not the | Vadim Zhukov | |
command history. This version comes from jmc@ together with his okay. | |||
2015-03-19 | Use struct timespec internally. This gives nanosecond precision to pax -rw | Philip Guenther | |
and a basis for support of mtime and atime values in pax-format extended header records. ok millert@ | |||
2015-03-18 | remove ambiguity from the COMMANDS section, after discussion with zhuk; | Jason McIntyre | |
2015-03-18 | from zhuk: a little more info on <> | Jason McIntyre | |
2015-03-18 | improve the description of here documents; prompted by zhuk | Jason McIntyre | |
2015-03-18 | rework the redirection text after some feedback from zhuk; | Jason McIntyre | |
2015-03-18 | not necessary to work around an apparent bug on ancient freebsd | Ted Unangst | |