OpenGrok
Cross Reference: history.c
xref
: /
src
/
bin
/
ksh
/
history.c
Home
|
History
|
Annotate
|
Download
|
only in
ksh
History log of
/src/bin/ksh/history.c
Revision
Date
Author
Comments
1.20
08-Sep-2024
rillig
s/effect/affect/ in a few places
1.19
08-May-2018
kamil
branches: 1.19.2; 1.19.14;
Stop using the register keyword in ksh(1)
ksh also does some strange things with it, like put it in argument lists.
No functional change intended.
PR bin/53237 ksh: remove register keyword by Nia Alarie
1.18
17-Jan-2018
maya
branches: 1.18.2;
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.17
30-Jun-2017
kamil
ksh: Upgrade to C99 <stdbool.h>
This shell already used C99 functions.
1.16
30-Jun-2017
kamil
ksh: Drop support for systems without <sys/stat.h>
In future the order of includes will be normalized with KNF.
No functional change intended.
1.15
22-Jun-2017
kamil
Reapply removal of code from 90ties for OS/2 Cygwin AIX HPUX SCOUnix
Added missing #endif terminator in emacs.c
1.14
22-Jun-2017
kamil
Temporarily revert previous.
emacs.* gets wrong code in generation
1.13
22-Jun-2017
kamil
Remove os2 support in ksh(1)
OK by <kre>
1.12
14-Jan-2017
maya
branches: 1.12.6;
reorganize the code so we test if open fails at the open call.
this doesn't actually make a functional difference as ftruncate can
handle it, but it's a bit clearer and appeases static analyzers.
ok riastradh
1.11
31-Aug-2011
plunky
branches: 1.11.4; 1.11.10; 1.11.18; 1.11.22; 1.11.24; 1.11.26; 1.11.30;
NULL does not need a cast
1.10
31-Oct-2009
dsl
Avoid generating a corrupt history file if multiple ksh exit together.
Fixes PR/28912
1.9
26-Jun-2005
christos
warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.
1.8
16-Jul-2004
christos
PR/26339: Pavel Cahyna: the 'fc' command can crash non-interactive ksh
Produce an error message instead.
1.7
07-Jul-2004
mycroft
Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084
1.6
26-Feb-2004
jdolecek
rename variable 'history' to 'histlist' to avoid clash with libedit
history() when this program is crunched into /rescue tools
fixes PR bin/24556 by Kouichirou Hiratsuka
1.5
23-Jun-2003
agc
Add NetBSD RCS Ids.
1.4
20-Oct-1999
hubertf
resolve conflicts
1.3
20-Jul-1997
christos
branches: 1.3.6;
Fix compiler warnings
Add WARNS=1
1.2
12-Jan-1997
tls
RCS ID Police
1.1
21-Sep-1996
jtc
branches: 1.1.1;
Initial revision
1.1.1.2
20-Oct-1999
hubertf
Import pdksh V5.2.14.
Includes lots of bugfixes.
1.1.1.1
21-Sep-1996
jtc
import pdksh 5.2.8
1.3.6.1
27-Dec-1999
wrstuden
Pull up to last week's -current.
1.11.30.1
22-Jan-2018
snj
Pull up following revision(s) (requested by maya in ticket #1554):
bin/ksh/history.c: revision 1.18 via patch
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.11.26.1
20-Mar-2017
pgoyette
Sync with HEAD
1.11.24.1
22-Jan-2018
snj
Pull up following revision(s) (requested by maya in ticket #1554):
bin/ksh/history.c: revision 1.18 via patch
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.11.22.1
22-Jan-2018
snj
Pull up following revision(s) (requested by maya in ticket #1554):
bin/ksh/history.c: revision 1.18 via patch
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.11.18.1
13-Mar-2018
snj
Pull up following revision(s) (requested by maya in ticket #1520):
bin/ksh/history.c: 1.18
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.11.10.1
13-Mar-2018
snj
Pull up following revision(s) (requested by maya in ticket #1520):
bin/ksh/history.c: 1.18
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.11.4.1
13-Mar-2018
snj
Pull up following revision(s) (requested by maya in ticket #1520):
bin/ksh/history.c: 1.18
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.12.6.1
22-Jan-2018
martin
Pull up following revision(s) (requested by maya in ticket #505):
bin/ksh/history.c: revision 1.18
Use 0600 as the mode for histfile here too.
pointed out by John D. Baker in PR bin/52480
1.18.2.1
21-May-2018
pgoyette
Sync with HEAD
1.19.14.1
02-Aug-2025
perseant
Sync with HEAD
1.19.2.2
21-Apr-2020
martin
Ooops, restore accidently removed files from merge mishap
1.19.2.1
21-Apr-2020
martin
Sync with HEAD
Indexes created Fri Oct 17 22:10:11 GMT 2025