index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
bin
/
ksh
/
history.c
Age
Commit message (
Expand
)
Author
2024-08-27
inline `start' and simplify; from/ok millert@
Omar Polo
2024-08-27
ksh: use strtonum() in findhistrel()
Omar Polo
2019-10-27
No need for <sys/uio.h> as writev(2) isn't used any more.
Jeremie Courreges-Anglas
2019-10-27
Don't fail hard if we can't preallocate history storage.
Jeremie Courreges-Anglas
2019-06-28
When system calls indicate an error they return -1, not some arbitrary
Theo de Raadt
2018-11-20
Fix the case where the recursion detection isn't reset when the command is
Martijn van Duren
2018-01-15
Don't try to open HISTFILE if the variable is unset.
Jeremie Courreges-Anglas
2018-01-15
Stop pretending we support building ksh without EDIT/HISTORY support
Jeremie Courreges-Anglas
2018-01-06
Bring back the sign compare changes, this time with a fix from otto@
Todd C. Miller
2018-01-04
Back out sign compare changes that appear to cause problems on hppa.
Todd C. Miller
2018-01-01
Add WARNINGS=yes to ksh and fix the resulting sign compare warnings.
Todd C. Miller
2017-11-21
Initialize *histbase to NULL to fix a bus error in emacs editing mode
Theo Buehler
2017-10-23
Kill needless rewind(3) call in hist_init()
Jeremie Courreges-Anglas
2017-10-23
Skip (and warn about) overlong history lines.
Jeremie Courreges-Anglas
2017-10-18
The return value of this function isn't used.
Jeremie Courreges-Anglas
2017-09-07
Keep histptr inside of the allocated history array
Jeremie Courreges-Anglas
2017-08-31
ignoredups implementation quirk
Jeremie Courreges-Anglas
2017-08-30
Implement HISTCONTROL ignoredups & ignorespace features
Jeremie Courreges-Anglas
2017-08-28
Don't bother setting freed history lines to NULL.
Jeremie Courreges-Anglas
2017-08-28
Put history_write() in line with other functions that walk history
Jeremie Courreges-Anglas
2017-08-27
Free history entries when resizing/reloading
Jeremie Courreges-Anglas
2017-08-26
Don't lose the latest history line & don't crash when shrinking histsize
Jeremie Courreges-Anglas
2017-08-11
Check whether the first two characters of $HISTFILE are the magic
Theo Buehler
2017-08-01
Disable ksh VI-editing mode on the install media. We need the space
Theo de Raadt
2017-07-24
Fix off-by-one error introduced in the previous commit.
Theo Buehler
2017-07-24
Prettify, simplify
Jeremie Courreges-Anglas
2017-07-24
Use memmove instead of a hand-rolled loop
Jeremie Courreges-Anglas
2017-05-29
Change the mmap(2)-based binary history file with lots of magic and a
Theo Buehler
2016-08-24
Use writev(2) to write history records using a single syscall.
Todd C. Miller
2016-08-24
Avoid recursively calling c_fc(). Fixes a core dump from "r r" and
Todd C. Miller
2015-12-30
rename global "e" to genv to avoid accidental shadowing and aliasing.
Ted Unangst
2015-12-14
Move system headers from sh.h to those files that actually need them.
tb
2015-12-14
Remove a superfluous macro. No binary change. ok tb@
mmcc
2015-11-02
Another aresize() -> areallocarray().
mmcc
2015-11-01
Add uses of areallocarray(). mksh and Bitrig ksh already have similar
mmcc
2015-10-21
Remove a couple of unhelpful defines.
mmcc
2015-10-21
Don't bother casting NULL.
mmcc
2015-10-19
Move string.h include from sh.h to the files that use it.
mmcc
2015-10-19
Apply style(9) to header includes.
mmcc
2015-10-09
remove null check before afree. from Michael McConville
Ted Unangst
2015-10-08
stop trying to gift history files to the original owner. instead, don't
Ted Unangst
2015-10-08
little cleanup from Michael McConville, mostly related to stale comments.
Ted Unangst
2015-09-17
More (foo *)0 -> NULL, from Michael McConville. No binary change.
Nicholas Marriott
2015-09-17
Remove unnecessary casts, from Michael McConville. No binary change.
Nicholas Marriott
2015-09-15
correct spelling of NULL from (char *)0. from Michael McConville.
Ted Unangst
2015-09-01
remove casts and null checks before free. from Michael McConville
Ted Unangst
2014-11-20
remove sys/file.h includes in favor of fcntl.h where needed.
Ted Unangst
2010-05-19
properly keep track of the line number after a trap.
Jasper Lievisse Adriaanse
2010-05-01
Correct a comment; from dawedawe (at) gmx.de
Philip Guenthe
2009-07-02
avoid infinite recursion if unlink fails. reported by Stefan Pettersson
Martynas Venckus
[next]