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/sh
Martijn Dekker cc4927529b libast: Update cdt(3): Allow empty strings in (dt)trees
This backports most of the Cdt (container data types) mechanism
from the ksh 93v- beta, based on ground work done by OpenSUSE:
https://build.opensuse.org/package/view_file/shells/ksh/ksh93-dttree-crash.dif
plus adaptations to match ksh 93u+m and an updated manual page
(src/lib/libast/man/cdt.3) added directly from the 93v- sources.

| Thu Dec 20 12:48:02 UTC 2012 - werner@suse.de
|
| - Add ksh93-dttree-crash.dif - Allow empty strings in (dt)trees
|   (bnc#795324)
|
| Fri Oct 25 14:07:57 UTC 2013 - werner@suse.de
|
| - Rework patch ksh93-dttree-crash.dif

As usual, precious little information is available because the
OpenSUSE bug report is currently closed to the public:
https://bugzilla.opensuse.org/show_bug.cgi?id=795324

However, a cursory inspection suggests that this code contains
improvements to do with concurrent processing and related
robustness. The new cdt.3 manual page adds a lot about that.

This has been in production use on OpenSUSE for a long time,
so hopefully this will make ksh a little more stable again.
Only one way to find out: let's commit and test this...

BTW, to get a nice manual, use groff and ghostscript's ps2pdf:
$ groff -tman src/lib/libast/man/cdt.3 | ps2pdf - cdt.3.pdf
2021-01-28 02:44:52 +00:00
..
args.c Disable SHOPT_KIA (ksh -R) by default 2021-01-23 18:26:38 +00:00
arith.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
array.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
defs.c test/[: use a shell state bit (re: 7003aba4) 2020-08-30 05:33:59 +01:00
deparse.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
expand.c Remove legacy code for older libast versions 2020-09-04 02:31:39 +02:00
fault.c Fix field splitting bug triggered by DEBUG trap 2021-01-24 16:09:02 +00:00
fcin.c Fix parsing of multibyte characters 2020-06-12 01:45:17 +02:00
init.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
io.c Replace safe FD fix with Solaris/ksh2020 version (re: 045fe6a1) 2021-01-08 16:35:26 +00:00
jobs.c Fix locking error in spawn implementation 2021-01-27 05:32:24 +00:00
lex.c Fix lexing of 'case' in do...done in a $(comsub) (rhbz#1241013) 2020-09-27 21:26:09 +02:00
macro.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
main.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
name.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
nvdisc.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
nvtree.c '#if 0' cleanup 2020-08-30 04:51:20 +01:00
nvtype.c Fix off-by-one in nv_mktype() (Solaris patch 210-Bug15993811) 2021-01-08 11:56:04 +00:00
parse.c Disable SHOPT_KIA (ksh -R) by default 2021-01-23 18:26:38 +00:00
path.c Implement hash tables for virtual subshells (re: 102868f8, 9d428f8f) 2021-01-07 22:18:25 +00:00
pmain.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
shcomp.c Increase shcomp bytecode header version; doc updates 2021-01-21 17:04:14 +00:00
streval.c silence macro redefinition warnings (re: 7003aba4) 2020-06-16 04:51:21 +02:00
string.c Fix garbled output from Ctrl+Alt+V (#135) 2020-09-25 03:37:22 +01:00
subshell.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00
suid_exec.c rm redundant getpid(2) syscalls (re: 9de65210) 2020-09-23 04:19:02 +02:00
tdump.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
timers.c rm redundant getpid(2) syscalls (re: 9de65210) 2020-09-23 04:19:02 +02:00
trestore.c '#if 0' cleanup 2020-08-30 04:51:20 +01:00
waitevent.c Version: 2012-08-01-master 2016-01-11 15:54:23 -05:00
xec.c libast: Update cdt(3): Allow empty strings in (dt)trees 2021-01-28 02:44:52 +00:00