History log of /netbsd/bin/ksh/history.c (Results 1 – 19 of 19)
Revision Date Author Comments
# ce8041bd 08-May-2018 kamil <kamil@NetBSD.org>

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

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

show more ...


# 58cde5a0 17-Jan-2018 maya <maya@NetBSD.org>

Use 0600 as the mode for histfile here too.

pointed out by John D. Baker in PR bin/52480


# 13351aa1 30-Jun-2017 kamil <kamil@NetBSD.org>

ksh: Upgrade to C99 <stdbool.h>

This shell already used C99 functions.


# 1fe37413 30-Jun-2017 kamil <kamil@NetBSD.org>

ksh: Drop support for systems without <sys/stat.h>

In future the order of includes will be normalized with KNF.

No functional change intended.


# 79a55b5f 22-Jun-2017 kamil <kamil@NetBSD.org>

Reapply removal of code from 90ties for OS/2 Cygwin AIX HPUX SCOUnix

Added missing #endif terminator in emacs.c


# b8542049 22-Jun-2017 kamil <kamil@NetBSD.org>

Temporarily revert previous.

emacs.* gets wrong code in generation


# 7f4c58ac 22-Jun-2017 kamil <kamil@NetBSD.org>

Remove os2 support in ksh(1)

OK by <kre>


# 47a562b0 14-Jan-2017 maya <maya@NetBSD.org>

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

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

show more ...


# 4a1b3429 31-Aug-2011 plunky <plunky@NetBSD.org>

NULL does not need a cast


# b392d545 31-Oct-2009 dsl <dsl@NetBSD.org>

Avoid generating a corrupt history file if multiple ksh exit together.
Fixes PR/28912


# a397ec1f 26-Jun-2005 christos <christos@NetBSD.org>

warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.


# f6f36c8d 16-Jul-2004 christos <christos@NetBSD.org>

PR/26339: Pavel Cahyna: the 'fc' command can crash non-interactive ksh
Produce an error message instead.


# f662a744 07-Jul-2004 mycroft <mycroft@NetBSD.org>

Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084


# 47b5291b 26-Feb-2004 jdolecek <jdolecek@NetBSD.org>

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


# 6377cac7 23-Jun-2003 agc <agc@NetBSD.org>

Add NetBSD RCS Ids.


# 48ee8d12 20-Oct-1999 hubertf <hubertf@NetBSD.org>

resolve conflicts


# 90647eb8 20-Jul-1997 christos <christos@NetBSD.org>

Fix compiler warnings
Add WARNS=1


# 2ab2e20c 12-Jan-1997 tls <tls@NetBSD.org>

RCS ID Police


# e1b2664c 21-Sep-1996 jtc <jtc@NetBSD.org>

import pdksh 5.2.8