Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-12 | missing .An macros, based on a patch from Jan Stary <hans at stare dot cz> | Ingo Schwarze | |
2014-01-28 | update book references; | Jason McIntyre | |
From: Jan Stary tweaked a bit by myself | |||
2014-01-20 | Obvious .Xr fixes, found while testing mandocdb(8). | Ingo Schwarze | |
2013-12-20 | Fix a crash in ksh when trying to access ${12345678901234567890} | Vadim Zhukov | |
Input from deraadt@, millert@ and otto@. okay from millert@ plus a willing from deraadt@ | |||
2013-12-18 | incorrect cast for ctype, spotted and repaired by LEVAI Daniel | Theo de Raadt | |
2013-12-18 | Remove artificial limit on the max array index. | Todd C. Miller | |
Adapted from a bitrig commit from Martin Natano. OK zhuk@ | |||
2013-12-17 | ctype cleanups. Repeated re-audits of this sensitive area by okan and | Theo de Raadt | |
myself, with a variety of other people spending some time as well. Thanks. | |||
2013-12-02 | Move ksh test files into regressMove ksh test files into regressMove ksh ↵ | Todd C. Miller | |
test files into regress. | |||
2013-11-28 | remove trailing whitespaces; use tabs instead of spaces where appropriate; | Igor Sobrado | |
no binary changes. | |||
2013-11-14 | be more specific in ulimit error messages. | Marc Espie | |
prompted by henning@ okay millert@, krw@, pirofti@ | |||
2013-11-12 | add a variety of missing prototypes | Theo de Raadt | |
2013-09-14 | Back out revision 1.38. Commands executed via `foo` or $( bar ) | Todd C. Miller | |
actually should inherit "set -e" status according to POSIX. OK jca@ | |||
2013-09-04 | Add a proper suspend builtin that saves/restores the tty and pgrp | Todd C. Miller | |
as needed instead of an alias that just sends SIGSTOP. Login shells may be suspended if they are not running in an orphan process group. OK guenther@ jmc@ | |||
2013-07-01 | Make $(< /nonexistent) have the same behaviour as $(cat /nonexistent) | Jeremie Courreges-Anglas | |
wrt. errors (do not unwind and do not treat this as fatal if set -e is used). This matches what bash does. Tweak regress tests while here. ok millert@, jasper@ agrees | |||
2013-06-19 | Add test for syn.c revision 1.29 | Todd C. Miller | |
2013-06-19 | Commands executed via `foo` or $( bar ) should not inherit "set -e" | Todd C. Miller | |
status. We can't use XERROK for this (since the command might set -e itself) so just save & restore the value of FERREXIT for the comsub() call to execute(). OK jca@ | |||
2013-06-16 | set -e should not affect command substitution, e.g. `foo` or | Todd C. Miller | |
$( foo ). However, if set -e is specified as part of the command it needs to be honored. | |||
2013-06-15 | Add test for trapping both ERR and EXIT, fixed by revision 1.48 | Todd C. Miller | |
of exec.c | |||
2013-06-15 | Run any pending traps before calling the EXIT or ERR traps when -e | Todd C. Miller | |
is set. Fixes a bug where we would not run the signal trap if, for example, ^C was pressed and -e was set. OK espie@ | |||
2013-06-14 | Add -T option to set the temp dir. | Todd C. Miller | |
2013-06-14 | Use mkstemp/mkdtemp not $$ for temp files. | Todd C. Miller | |
2013-06-14 | Exit with non-zero status if a test unexpectedly failed. | Todd C. Miller | |
2013-06-14 | Adapt OpenBSD ksh regress tests to the pdksh test harness. | Todd C. Miller | |
2013-06-13 | Document correct interaction of -e flag with && and ||. OK jmc@ | Todd C. Miller | |
2013-06-10 | POSIX specifies that for an AND/OR list, only the last command's | Todd C. Miller | |
exit status matters for "set -e". Revert the part of revision 1.49 that always sets xerrok for AND/OR. This makes sh/ksh pass the updated regress tests. OK espie@ jca@ | |||
2013-06-03 | for var in; do ... shouldn't be interpreted as for var; do ... | Jeremie Courreges-Anglas | |
Fix by returning an empty token list instead of NULL to consumers. Brings base ksh more in line with POSIX. | |||
2013-06-03 | add : to special chars. | Ted Unangst | |
identical diffs from plhk sdf.org and leva ecentrum.hu. ok deraadt. | |||
2013-04-19 | handle long long time_t | Theo de Raadt | |
ok millert tedu | |||
2013-04-19 | Add support for printing long long (%lld). OK deraadt@ | Todd C. Miller | |
2013-04-16 | remove unneccessary time_t * cast | Theo de Raadt | |
2013-04-05 | SECONDS is, in a highly theoretical way, not y2k38 safe. comment it. | Ted Unangst | |
2013-03-28 | Don't die with SIGFPE on LONG_MIN / -1 or % -1. Instead make LONG_MIN / | Nicholas Marriott | |
-1 == LONG_MIN and % -1 == 0. ok matthew deraadt | |||
2013-03-20 | Remove bogus #if 0'd code. As the comment says, POSIX doesn't need this. | Todd C. Miller | |
OK martynas@ | |||
2013-03-18 | Keep documentation in sync with reality and update binding examples. | Martin Pieuchot | |
This should have been part of the keybinding rewrote when support for multi-character sequences has been added. Pointed out by mikeb@ | |||
2013-03-03 | Fix quoting in word part of ${var+word} (and similar) when entire thing | Philip Guenther | |
is quoted or in a here-doc. Patch from Alexander Polakov (plhk (at) sdf.org). ok mpi@ jung@ | |||
2013-01-21 | revert the tweak part of the last commit which, apart from the | Alexander Hall | |
questionable functionality of being able to expand environment variables that did not match a filename, preserved the annoyance of having stuff like "~/nonexistant" expanded to "~/nonexistant\* " ok stsp@ mpi@ | |||
2013-01-20 | Fix backslash escaping during filename tab-completion in ksh. | Stefan Sperling | |
Diff originally submitted by Alexander Polakov, with a small tweak from me to avoid breaking tab-completion of environment variables (problem pointed out by bentley). ok sthen halex mpi | |||
2013-01-17 | remove some uesless Pp; | Jason McIntyre | |
2012-09-10 | fake a sigwinch after each job, so if the terminal changes size, | Ted Unangst | |
we'll notice and update | |||
2012-09-06 | Avoid modifying argv when building argv for $* and $@ since it will | Todd C. Miller | |
affect ps output. This can happen when command line options are specified, e.g. "sh -c command". Based on a diff from espie@ OK espie@ | |||
2012-09-05 | backout, Todd's version may be cleaner, but it's also wrong. | Marc Espie | |
2012-09-05 | sh -c should not munge argv[]. | Marc Espie | |
This fixes ps -ww output. joint work by millert@ and me@. okay otto@, deraadt@ "feel free to commit my version" millert@ | |||
2012-07-08 | Document ${var[@]} and ${var[*]} | Philip Guenthe | |
ok espie@ | |||
2012-06-27 | fptreef() always returns 0 and we never use the return value anyway, | Otto Moerbeek | |
so make it void; from Michael W. Bombardieri. | |||
2012-06-19 | for arithmetic expressions, note that: | Jason McIntyre | |
+A parameter that is NULL or unset evaluates to 0. original diff from robert peichaer this version from naddy | |||
2012-06-10 | Correctly expand bindings containing macros. Fix a regression introduced | Martin Pieuchot | |
in the keybinding system rewrite, reported by Lars Engblom. | |||
2012-04-30 | generalise ksh keybinding system - bindings are no longer limited in | Damien Miller | |
length and need not start with ESC or ^X; patch from marco@ feedback mpi@ | |||
2012-02-19 | Allow for more vars in hash table, improve hash function, increase | Otto Moerbeek | |
hash table size sooner. Based on suggestion from Michael Niedermayer. ok krw@ mpi@ | |||
2012-02-02 | bound chaeck table expansion; problem seen by Michael Niedermayer; | Otto Moerbeek | |
ok deraadt@ kili@ | |||
2011-10-11 | gc unused var; from Michael W. Bombardieri | Otto Moerbeek | |