Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2011-09-07 | beter determination if the shell is restricted; from Alf Schlichting. | Otto Moerbeek | |
ok jasper@ millert@ | |||
2011-09-05 | Fix hang in emacs mode. To reproduce the hang go like: "^[16000l" which | Marco Peereboom | |
would insert 16000 letter l'. Going over the line limit makes no sense so limit it's repetition and prevent the hang in the process. ok guenther | |||
2011-09-03 | make -column lists pretty again; | Jason McIntyre | |
specifically, rewrite them to permit some markup in the column headers, and use "Ta" instead of literal tabs; mandoc does not currently match groff 100%, but a mandoc fix may be some time off, and we've gone enough releases with poorly formatting column lists. in some cases i have rewritten the lists as -tag, where -column made little sense. | |||
2011-05-30 | typo; Alexander Polakov | Martynas Venckus | |
2011-04-23 | improve line breaking in SYNOPSIS now that semantics of the .Bk macro | Igor Sobrado | |
has changed to conform with modern groff releases. diff for route6d(8) written mostly by schwarze@, with lots of useful advice from jmc@. ok jmc@, schwarze@ | |||
2011-03-15 | fix uninitialized variable warnings (lifted from mksh). | Okan Demirmen | |
noticed by and ok kevlo@ | |||
2011-03-14 | remove unused SILLY game of life. | Okan Demirmen | |
no binary change. sure @deraadt | |||
2011-03-09 | substitute '~' for $HOME in the \W prompt case; matches bash's behavior. | Okan Demirmen | |
feedback from Dan Harnett OK deraadt@ | |||
2010-09-20 | according to ingo, it isn;t a problem to have empty [BDS]q macros, so | Jason McIntyre | |
revert that part of yesterday's diffs; | |||
2010-09-18 | some macro cleanup: | Jason McIntyre | |
- remove some old groff workarounds in SYNOPSIS - avoid "Op ... Oc" constructions - avoid empty Sq/Dq - change some incorrect Xr | |||
2010-07-15 | When the first argument or arguments of a macro are opening delimiters | Ingo Schwarze | |
(parentheses and/or square brackets), both modern groff and mandoc first output those leading delimiters as plain text, then start the macro scope after these opening delimiters. This is similar to printing trailing punctuation and trailing closing delimiters on a macro line outside and after the macro scope. For example, ".Sq ( text )" is "(`text')", not "`(text)'". Thus, we now need to quote leading opening delimiters when we want them inside the macro scope. These are the cases in src/bin. "makes sense" jmc@ | |||
2010-07-12 | ksh.1: add ((, )), ]], and `name' to the list of reserved words for compounds | Jason McIntyre | |
sh.1: add ]] and `name' to the list; additionally document the commands `select' (requested by Ross L Richardson) and [[ ok millert sobrado | |||
2010-05-20 | Escape "=", remove if 0'd out code and simplify check in x_print_expansions. | Federico G. Schwindt | |
millert@ ok some time ago. | |||
2010-05-19 | properly keep track of the line number after a trap. | Jasper Lievisse Adriaanse | |
this fixes pr 6195. diff from manuel giraud, thanks. ok kili@ | |||
2010-05-10 | tweak previous; | Jason McIntyre | |
2010-05-10 | unset doesn't fail except for read-only variables and functions | Matthias Kilian | |
ok guenther@ | |||
2010-05-01 | Correct a comment; from dawedawe (at) gmx.de | Philip Guenthe | |
2010-03-27 | `b' and `c' arguments to mknod are not optional; from LEVAI Daniel | Jason McIntyre | |
c_sh.c part from sobrado; ok millert guenther | |||
2010-03-24 | fix the cases where ${name#pat} and ${name%pat} will generate an empty word | Federico G. Schwindt | |
when they shouldn't. originally from mksh but modified to handle the case when the expr is quoted as noticed by halex@. input from guenther@ and halex@, millert@ ok | |||
2010-02-26 | Array indices are limited to 0 through 10239 now. | william | |
ok jmc deraadt | |||
2010-02-25 | get rid of overlapping blocks discouraged by mdoc.samples(7); | Ingo Schwarze | |
found by and unbreaking the build with mandoc(1); "fine" jmc@ sobrado@ | |||
2010-01-04 | Crank max array size in ksh to 10K-1, since 2047 is too restrictive. | Theo de Raadt | |
Please keep in mind that ksh accesses are not O(1) in any sense. Needed by todd, ok otto, guenther | |||
2009-12-13 | remember to restore errno (ie. stop someone from making a mistake later) | Theo de Raadt | |
ok guenther | |||
2009-12-12 | a dangling do / while that was very very ugly | Theo de Raadt | |
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-07-02 | avoid infinite recursion if unlink fails. reported by Stefan Pettersson | Martynas Venckus | |
ok theo, millert@ | |||
2009-06-29 | make VSEARCH werase act like regular werase after the last change. | Martynas Venckus | |
vi back-words and emacs kill-region are not completely the same. ok merdely@, millert@. "Get it in" Darrin Chandler | |||
2009-06-10 | Fix problem with ^w fix that broke 'B' | Michael Erdely | |
Found by Daniel LEVAI Fix by Darrin Chandler ok millert@ | |||
2009-06-04 | "make ksh vi mode handle werase more like vi. It's really irritating to | Michael Erdely | |
have whole paths go away on ^W instead of just the last bit." "That looks right to me" millert@, "YES kthx bye!" thib@ | |||
2009-06-02 | fix macro handling | Alexander Hall | |
2009-06-01 | please sthen the 80 character pedant | Theo de Raadt | |
2009-06-01 | "let --" was crashing ksh; found by phy0@rambler.ru. Various other expressions | Theo de Raadt | |
involving ++ and -- also ran into this. Insufficient checks for end of parse in the tokenizer made it assume that an lvalue had been found ok millert otto | |||
2009-05-28 | fix missing bracket by slightly rewriting; from Alan R. S. Bueno | Jason McIntyre | |
2009-05-05 | Fix usage string for mknod builtin. | Todd C. Miller | |
2009-04-19 | don't print extraneous padding characters when tab-completion file/command | Stuart Henderson | |
lists encounter a name too long for the width of the terminal. from Matthew Haub, no objections krw@. | |||
2009-03-06 | after some discussion with millert, pull in the character class info | Jason McIntyre | |
from glob(7) to the shell pages - they have their own glob stuff, and pointing to glob(7) is just not helpful. ok millert | |||
2009-03-05 | Add glob(7) and refer to it. OK jmc@ sobrado@ | Todd C. Miller | |
2009-03-03 | Add POSIX character class support ([:alpha:] and friends) to ksh globbing. | Todd C. Miller | |
OK deraadt@ krw@ jmc@ sobrado@ | |||
2009-03-01 | Fix PR #723: test(1) operator precedence inconsistent with POSIX | Otto Moerbeek | |
Make sure ksh builtin test and test(1) do not differ. From Christiano Farina Haesbaert. ok miod@ | |||
2009-02-07 | some tweaks for previous that got missed; | Jason McIntyre | |
2009-02-07 | Ensure that *wp isn't NULL. | Matthias Kilian | |
ok otto@ | |||
2009-02-07 | Make built-in echo behave according to POSIX when set -o posix is in effect: | Philip Guenthe | |
the only option is -n, and only one of those is parsed. diff from Ingo Schwarze ok otto@ kili@; manpage changes ok jmc@ | |||
2009-01-29 | pass "xerrok" status across the execution call stack to more closely | Jared Yanovich | |
match what both POSIX and ksh.1 already describe in regards to set -e/errexit's behavior in determining when to exit from nonzero return values. specifically, the truth values tested as operands to `&&' and `||', as well as the resulting compound expression itself, along with the truth value resulting from a negated command (i.e. a pipeline prefixed `!'), should not make the shell exit when -e is in effect. issue reported by matthieu. testing matthieu, naddy. ok miod (earlier version), otto. man page ok jmc. | |||
2009-01-17 | Use libc qsort instead of private version. Tested by several people. | Todd C. Miller | |
2008-08-11 | plug a memleak when freeing io redirection in commands. | Jared Yanovich | |
the leaked memory is actually reclaimed when the command finishes but may grow until that happens, e.g. during command execution. ok phessler@. testing sobrado@ jmc@ oga@. | |||
2008-07-23 | fix stack abuse in the `time' commmand, using alloc()'d memory instead. | Jared Yanovich | |
reported by Thorsten Glaser, thanks. ok millert@, earlier version miod@ | |||
2008-07-21 | Extra sanity checking for afree(); OK deraadt@ and pvalchev@ | Todd C. Miller | |