1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-24 15:04:13 +00:00
cde/src/cmd/ksh93/sh
Martijn Dekker 47468f56c2 main.c: fixargs(): add support for *BSD using setproctitle(3)
What is this for? See cefe087d

src/cmd/ksh93/Mamfile:
- Make iffe generate a test for the presence of setproctitle(3).

src/cmd/ksh93/sh/main.c:
- Include setproctitle test result.
- Re-enable fixargs() for FreeBSD and DragonFly BSD.
  Disable it for UnixWare.
- fixargs(): Add _lib_setproctitle version. Keep it simple with a
  128-character buffer array -- should be plenty for 'ps' output.
- fixargs(): Fix an off-by-one in zeroing the rest of the buffer.

src/cmd/ksh93/tests/basic.sh:
- Update the relevant regression test to run on FreeBSD/DragonFly
  and tolerate the "ksh: " prefix added by setproctitle(3).
2021-01-21 22:59:31 +01:00
..
args.c Streamline some shell state flaggery 2020-10-02 23:58:21 +02:00
arith.c Arith: informative err msg on '.' radix point in non-'.' locales 2021-01-05 23:16:53 +00:00
array.c Fix several memory leaks related to arrays (rhbz#921455) 2020-09-15 07:47:38 +02: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 side effect to exit status of DEBUG trap in comsub 2021-01-20 17:48:09 +00:00
fcin.c Fix parsing of multibyte characters 2020-06-12 01:45:17 +02:00
init.c sh_init(): rm directoryless '.profile' login file path 2021-01-08 23:53:04 +00:00
io.c Replace safe FD fix with Solaris/ksh2020 version (re: 045fe6a1) 2021-01-08 16:35:26 +00:00
jobs.c job_unpost(): fix segfault 2021-01-18 07:14:06 +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 Fix for memory mgmt in variable expansion (Solaris 105-CR7032068) 2021-01-09 00:28:11 +00:00
main.c main.c: fixargs(): add support for *BSD using setproctitle(3) 2021-01-21 22:59:31 +01:00
name.c nv_newattr(): fix potential invalid free 2021-01-17 03:55:46 +00:00
nvdisc.c setdisc(): Return null pointer if no event (Solaris 110-CR7061011) 2021-01-08 11:27:30 +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 Increase shcomp bytecode header version; doc updates 2021-01-21 17:04:14 +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 Fix crash on subshell exit if PWD is inaccessible (re: dd9bc229) 2021-01-19 18:47:41 +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 Revert "Fix SIGALRM core dump (Solaris patch 230-18229654)" 2021-01-09 13:18:00 +00:00