summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.c
AgeCommit message (Expand)Author
2015-11-01Add uses of areallocarray(). mksh and Bitrig ksh already have similarmmcc
2015-10-19Move string.h include from sh.h to the files that use it.mmcc
2015-10-19Apply style(9) to header includes.mmcc
2015-10-10Add a define for the invalid state, from mksh via Michael McConville.Nicholas Marriott
2015-10-09Lexer states are not needed outside of lex.c.Todd C. Miller
2015-10-05Remove EXTERN from lex.h and put the definitions in lex.c, from MichaelNicholas Marriott
2015-09-30fix error message for csh-history. the lexer needs to back up more.Ted Unangst
2015-09-22Make errorf() and bi_errorf() handle a NULL argument.Todd C. Miller
2015-09-18Last of the (thing *)0 -> NULL, from Michael McConville. No binaryNicholas Marriott
2015-09-17Remove unnecessary casts, from Michael McConville. No binary change.Nicholas Marriott
2015-09-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
2015-09-10Replace newline and space defines by "\n" and " " directly, from MichaelNicholas Marriott
2015-07-30Fix the baskslash-escaped codes ('\nnn') usage in PS1.Vadim Zhukov
2013-12-17ctype cleanups. Repeated re-audits of this sensitive area by okan andTheo de Raadt
2013-11-12add a variety of missing prototypesTheo de Raadt
2013-03-03Fix quoting in word part of ${var+word} (and similar) when entire thingPhilip Guenther
2013-01-20Fix backslash escaping during filename tab-completion in ksh.Stefan Sperling
2011-03-09substitute '~' for $HOME in the \W prompt case; matches bash's behavior.Okan Demirmen
2008-07-03fix inifinite loop with set -o csh-history and !<space> as input.Otto Moerbeek
2007-06-02s/FALLTROUGH/FALLTHROUGH/Moritz Jodeit
2006-07-10fix ksh prompt wrapping, from Marcus Glocker <marcus@nazgul.ch>.Bob Beck
2006-06-16Work around a problem with \$ expansion where \$\$ turned into pid ($$)Dale Rahn
2006-05-29Implement \$ and \# expansion for PS1. Whoever thought it a cleverOtto Moerbeek
2006-04-10fix lint comments, no functional changes; ok rayJared Yanovich
2005-12-11fix a few name clashes with libc; found by lint. ok deraadt@Otto Moerbeek
2005-09-11Fix " handling in here documents. POSIX says they are not special, soOtto Moerbeek
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
2005-02-21Set \u in prompt expansion to the right value, while avoiding getpw* calls,Otto Moerbeek
2005-01-10In csh-style history expansion, initialize s->u.freeme to NULL so weTodd C. Miller
2004-12-30Remove -Wno-unused form CFLAGS and kill some unused vars found as a result ofOtto Moerbeek
2004-12-30Simplify local copying of PS1 environment variable. Since we noTodd C. Miller
2004-12-29in prompt variable parsing, if either \n or \r (the two characterTheo de Raadt
2004-12-22Fix a use-after-free, that causs core dumps if a shell is killedOtto Moerbeek
2004-12-22Use stdbool.h instead of rolling our own bools.Todd C. Miller
2004-12-20Ansification plus some minor knf. No binary change on i386 andOtto Moerbeek
2004-12-19spacingTheo de Raadt
2004-12-18deregisterTodd C. Miller
2004-12-18Get rid of #ifdef KSH since we don't care about building a V7 style sh andTodd C. Miller
2004-12-18Remove unused OS dependent #ifdef blocks, #defines and macro abstraction.Todd C. Miller
2004-12-12csh-style ! history completion, which can be activated by usingTheo de Raadt
2004-11-10defer ! and !! handling till prompt printing, like real ksh, and this nowTheo de Raadt
2004-11-06\[ and \] delimit blocks of characters which are processed just likeTheo de Raadt
2004-11-06change \w to output ~/subpath type things, except for root of courseTheo de Raadt
2004-11-04do the variety-pack of bash-style \letter expansions on prompt variables.Theo de Raadt
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
2003-02-28typos; from Brian PooleJason McIntyre
2002-06-09knfTodd T. Fries
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
1999-06-15patches from pdksh 5.2.13.11Todd C. Miller
1999-01-19Updates from pdksh-unstable-5.2.13.7. Most notable change is:Todd C. Miller