Nice, I was thinking of taking this up but you did this nicely. A question for you, apparently our code uses a "LockKshFileDescriptors" function that locks the first 10 file descriptors, is this still necessary with the new ksh? Thank you for your time, -Chase
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Friday, December 31st, 2021 at 11:58 PM, Martijn Dekker <mart...@inlv.org> wrote: > Hello, > > ksh 93u+m maintainer here. I finally got cde to build (on Slackware > > 14.2), so this upgrades ksh93 and updates the build system accordingly. > > Please excuse the intrusion, this patch is too big for the mailing list, > > so here it is in direct email (attached, created with 'git format-patch'). > > cde/programs/dtksh/ksh93/**: > > - Upgraded. A load of bugs fixed, some minor features added. > > See NEWS from 2021-02-01 upwards. > > cde/programs/dtksh/Makefile.am: > - Don't cd into ksh93 any more to invoke the package or shtests > > scripts; they now automatically find their directories. > - Pass $(CFLAGS) to build ksh with optimisation. > - Remove -D_std_malloc flag as vmalloc is now deprecated and disabled > > by default. > - Add a 'make check' target to Makefile.am that runs the ksh93 > > regression tests on dtksh to make sure the additions don't interfere > > with anything. It skips running the tests with shcomp because CDE > > doesn't use that. The tests all pass here on Slackware 14.2. :-) > > cde/programs/dtksh/init.patch: > - Removed; I've upstreamed it. It was the only one that wasn't upstreamed > > yet, and more code cleanups are coming, breaking downstream patches. If > > something needs updating, just email me a diff. > > cde/programs/dtksh/dtkcmds.h: > - Update the ADDBUILTIN macro to remove the PROTO macro use. The > > proto(1) tool, responsible for all such pre-C89 K&R C compatibility > > voodoo, has been removed, so that macro is no longer defined. > > cde/programs/dtksh/setup.sh: > - Workaround script removed. I rewrote 'bin/package flat make' in a way > > that works correctly and changed Makefile.am to use that instead. > > Hope this helps. Happy new year. > > -- > > || modernish -- harness the shell > > || https://github.com/modernish/modernish > > || > > || KornShell lives! > > || https://github.com/ksh93/ksh _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel