summaryrefslogtreecommitdiff
path: root/bin/ksh/history.c
AgeCommit message (Expand)Author
2015-12-30rename global "e" to genv to avoid accidental shadowing and aliasing.Ted Unangst
2015-12-14Move system headers from sh.h to those files that actually need them.tb
2015-12-14Remove a superfluous macro. No binary change. ok tb@mmcc
2015-11-02Another aresize() -> areallocarray().mmcc
2015-11-01Add uses of areallocarray(). mksh and Bitrig ksh already have similarmmcc
2015-10-21Remove a couple of unhelpful defines.mmcc
2015-10-21Don't bother casting NULL.mmcc
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-09remove null check before afree. from Michael McConvilleTed Unangst
2015-10-08stop trying to gift history files to the original owner. instead, don'tTed Unangst
2015-10-08little cleanup from Michael McConville, mostly related to stale comments.Ted Unangst
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-15correct spelling of NULL from (char *)0. from Michael McConville.Ted Unangst
2015-09-01remove casts and null checks before free. from Michael McConvilleTed Unangst
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.Ted Unangst
2010-05-19properly keep track of the line number after a trap.Jasper Lievisse Adriaanse
2010-05-01Correct a comment; from dawedawe (at) gmx.dePhilip Guenthe
2009-07-02avoid infinite recursion if unlink fails. reported by Stefan PetterssonMartynas Venckus
2008-05-20cast pointer arithmetic to unsigned so we can behave correctly onFederico G. Schwindt
2006-05-29Implement \$ and \# expansion for PS1. Whoever thought it a cleverOtto Moerbeek
2006-03-17Simplify savefd() by removing the "noclose" flag and make nocloseTodd C. Miller
2006-03-12might as well make ksh_getopt() match real getopt(), ie. get rid of thatTheo de Raadt
2005-12-11remove unused variables and functionsTheo de Raadt
2005-07-31say goodbye to creat().Marc Espie
2005-03-30lots of indentation cleanup, now ksh is readable like our other code.Theo de Raadt
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-18deregisterTodd 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-08-03only neuter fc builtin if initial shell is not interactiveDan Harnett
2004-07-16Neuter the fc builtin on non-interactive shells; inspired by NetBSD PR#26339.Miod Vallat
2003-05-18fix prototype; ok millert@Jason Peel
2003-05-17use MAP_FAILED rather than -1; millert@ ok.Federico G. Schwindt
2003-05-16fix several constant overflows, remove the strerror prototype (shouldn't beJason Peel
2003-04-15cull warningsTheo de Raadt
2003-04-06strlcat; ok from various peopleTheo de Raadt
2003-02-28typos; from Brian PooleJason McIntyre
2002-11-27Make fc -e work in "sh-mode" (shell invoked as /bin/sh or -o sh option)Peter Valchev
2002-10-23Move a cast from LHS to RHS to quiet a "cast from pointer to integerTodd C. Miller
2002-09-06no , at end of enumTheo de Raadt
2002-08-03register -> intMarco S Hyman
2000-10-12Compare the return from mmap with MAP_FAILED, do not cast to int and comapreArtur Grabowski
1999-06-15patches from pdksh 5.2.13.11Todd C. Miller
1999-01-10sync with pdksh-unstable-5.2.13.6Todd C. Miller
1998-10-29Bug fixes from pdksh-unstable-5.2.13.4, including "official" versions ofTodd C. Miller
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-06-19back outkstailey