Commit Graph

24 Commits

Author SHA1 Message Date
kamil
0f2b5450fb 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
2018-05-08 16:37:59 +00:00
kamil
dd8a75d57f ksh: Upgrade to C99 <stdbool.h>
This shell already used C99 functions.
2017-06-30 04:41:19 +00:00
kamil
bdcebfe8f5 ksh: Drop support for systems without <limits.h> 2017-06-22 23:38:49 +00:00
kamil
eb13ce8ce3 Reapply removal of code from 90ties for OS/2 Cygwin AIX HPUX SCOUnix
Added missing #endif terminator in emacs.c
2017-06-22 14:20:46 +00:00
kamil
266bea007e Temporarily revert previous.
emacs.* gets wrong code in generation
2017-06-22 14:11:27 +00:00
kamil
2f8869f916 Drop HP-UX support from ksh(1)
OK by <kre>
2017-06-22 13:35:47 +00:00
kamil
e5604d4f02 Remove os2 support in ksh(1)
OK by <kre>
2017-06-22 13:33:39 +00:00
christos
905af67799 PR/52210: David H. Gutteridge: revert var pattern handling. 2017-05-03 00:41:34 +00:00
christos
b9dfc8dc3f Use backtracking for regular patterns, but not ksh-specific ones [*?!+@](...)
which still use recursion.
2017-04-30 17:34:29 +00:00
joerg
a2567f3beb Don't use non-literal format strings. 2011-10-16 17:12:11 +00:00
seanb
282081cf28 Wrong buffer len being passed to strlcpy(). Innocuous
here but...
2009-10-22 15:53:19 +00:00
lukem
7ca13b8bcd Fix most of the -Wsign-compare issues. 2009-04-25 05:11:37 +00:00
christos
a397ec1f77 warns=3
- remove param names from function decls
- sprinkle const
- rename shadowed variables
- XXX: there is a lot of fishy __UNCONST going on.
2005-06-26 19:09:00 +00:00
rillig
4f6457e756 Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.
2005-04-19 20:14:29 +00:00
simonb
3cebd9325e White space nit- don't put a space before/after increment/decrement
operators.
2005-02-11 06:21:21 +00:00
mycroft
f662a744b6 Cleanup of ksh memory handling from OpenBSD, via Stefan Krueger in PR 24962.
Should also fix:
PR 8153
PR 13301
PR 15256
PR 25084
2004-07-07 19:20:09 +00:00
agc
6377cac711 Add NetBSD RCS Ids. 2003-06-23 11:38:51 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
provos
f9b44bb190 change complete-list to first complete and then print a list,
also complete after '=' (dd), and ':' (ssh) and ` (backtick)
improvements from camield@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:41:11 +00:00
christos
cba68cff4c remove duplicate declarations, and fix nested externs. 2001-02-04 19:26:04 +00:00
hubertf
48ee8d1290 resolve conflicts 1999-10-20 15:09:58 +00:00
erh
bc642404be getwd() -> getcwd(,MAXPATHLEN). 1998-10-09 02:42:28 +00:00
tls
2ab2e20cff RCS ID Police 1997-01-12 19:11:37 +00:00
jtc
e1b2664cf1 import pdksh 5.2.8 1996-09-21 23:35:13 +00:00