summaryrefslogtreecommitdiff
path: root/bin/ksh/history.c
AgeCommit message (Collapse)Author
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
there), and cleanup some whitespace; help from, and okay millert@
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
as well; matches Solaris. "can't hurt anything" marc@ Original report from PR user/2883
2002-10-23Move a cast from LHS to RHS to quiet a "cast from pointer to integerTodd C. Miller
of different size" warning on 64-bit platforms.
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
with -1.
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
some that we had already fixed locally. o typeset -f FUNC doesn't print follows command (and expression) substitutions. o when re-allocating memory, too much may be copied from old memory. o set -o printed some options sans names. o emacs mode: <esc>. in very fist command causes core dump. o pdksh dumps core after a cd command. o typeset -i reports on array elements that have no value (at&t ksh reports on array base name - no index). o ulimit -ctn unlimittttted kills shell (resource exceeded). o ". /dev/null" says access denied. o flag field in aliases incorrectly changed (all flags set instead of clearing ISSET) in exec.c(flushcom). o ${#array[*]} prints largest index instead of number of (set) elements in an array (ksh88 does the former). o sys_siglist[] doesn't always have NSIG non-null entries...
1998-06-25pdksh-5.2.13 + local changesTodd C. Miller
1997-06-19back outkstailey
1997-06-18(foo *)0 -> NULLkstailey
1997-01-02Revert HISTFILE. If anyone wants a differently named history file, theyJason Downs
can set it in their environment.
1997-01-02After discussing $_ with the maintainer, revert ksh behaviour and completelyJason Downs
eliminate it from sh.
1997-01-02Add FSH (set -o sh), initialize it if we're /bin/sh, and add the first use:Jason Downs
don't set $_ if we're non-interactive.
1996-12-29change the name of the history file from .pdksh_hist to .ksh_historyThomas Graichen
this way it is clearer where it comes from (pdksh is ksh in OpenBSD) and it's more consistent with other shells (bash - .bash_history and i think FreeBSD's sh also used something like .sh_history)
1996-08-14Import pdksh 5.2.7.Jason Downs