1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00
cde/src/cmd/ksh93/include
Martijn Dekker aa3048880b cleanup: get rid of KSHELL and _BLD_shell preprocessor macros
Once upon a time it might have been possible to build certain parts
of ksh, such as the emacs and vi editors and possibly even the
name/value library (nval(3)) as independent libraries. But given
the depressing amount of bit rot in the code that we inherited, I
am certain that disabling either of these macros had been resulting
in a broken build for many years before AT&T abandoned this code
base. These are certainly not going to be useful now.

Meanwhile the KSHELL macro got in the way of me today, because the
Mamfile did not define it for all the .c files, but some headers
declared some functionality conditionally upon that macro. So
including <io.h> in, e.g., nvdisc.c did not declare the same
functions as including that header in files with KSHELL defined.
This inconsistency is now gone as well, for various files.

I'm currently working on making it possible once again to build
libshell as a dynamic library; that should be good enough. And that
never involved disabling either of these macros.
2021-12-09 06:43:22 +01:00
..
argnod.h arithmetic: Fix the octal leading zero mess (#337) 2021-11-17 04:28:08 +01:00
builtins.h cleanup: get rid of KSHELL and _BLD_shell preprocessor macros 2021-12-09 06:43:22 +01:00
defs.h Fix various compiler warnings and minor issues (#362) 2021-12-09 06:42:59 +01:00
edit.h cleanup: get rid of KSHELL and _BLD_shell preprocessor macros 2021-12-09 06:43:22 +01:00
fault.h Fix parentheses in sh_{push,pop}context macros 2021-11-25 04:11:41 +01:00
fcin.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
history.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
io.h cleanup: get rid of KSHELL and _BLD_shell preprocessor macros 2021-12-09 06:43:22 +01:00
jobs.h jobs.c: refactor SIGHUP handling; document bug fixed (re: 62cf88d0) 2021-11-25 19:29:17 +01:00
lexstates.h Fix single quotes in expansion operator string (re: 5ed9ffd6) 2021-04-30 05:28:21 +01:00
name.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
national.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
nval.h cleanup: get rid of KSHELL and _BLD_shell preprocessor macros 2021-12-09 06:43:22 +01:00
path.h cleanup: get rid of KSHELL and _BLD_shell preprocessor macros 2021-12-09 06:43:22 +01:00
regress.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
shell.h cleanup: get rid of KSHELL and _BLD_shell preprocessor macros 2021-12-09 06:43:22 +01:00
shlex.h Fix KEYBD trap crash when inputting a command substitution (#355) 2021-11-30 04:27:31 +01:00
shnodes.h cleanup: get rid of KSHELL and _BLD_shell preprocessor macros 2021-12-09 06:43:22 +01:00
shtable.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
streval.h Remove duplicate error message 2021-11-15 21:15:41 +01:00
terminal.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
test.h test/[: binary operators: fix '<' and add '=~'; some more cleanups 2021-11-14 02:46:34 +01:00
timeout.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
ulimit.h Add ksh 93u+m contributors notice to 964 copyright headers 2021-04-26 00:19:31 +01:00
variables.h [1.0 release prep] Remove tilde expansion discipline 2021-11-24 07:46:58 +01:00
version.h Fix 'return' emitting signals; allow arbitrary return values 2021-12-09 06:41:39 +01:00