Patch-ID# 102048-07 Keywords: ksh loop SIGSEGV vi setuid status hang child pipe SIGCHLD Synopsis: SunOS 5.4: fixes for ksh Date: Nov/06/96 Solaris Release: 2.4 SunOS Release: 5.4 Unbundled Product: Unbundled Release: Xref: This patch available for x86 as patch 102050 Topic: SunOS 5.4: fixes for ksh BugId's fixed with this patch: 1172622 1173960 1174113 1174450 1199983 1207251 1225791 1235177 Changes incorporated in this version: 1225791 Relevant Architectures: sparc Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: Obsoleted by: Files included with this patch: /usr/bin/ksh /usr/bin/rksh Problem Description: 1225791 With ksh login shell, su command hangs 2.4 JKP-29 (from 102048-06) 1235177 ksh script hangs after piping a child process Root cause of the hang is fixed in this revision. (from 102048-05) 1235177 ksh script hangs after piping a child process (from 102048-04) 1173960 ksh echo builtin does not work as documented. (from 102048-03) 1199983 Intermittently, return status variable is not set correctly. (from 102048-02) 1207251 ksh using the privilege mode does not function correctly with setuid scripts (from 102048-01) 1174450 ksh script goes into an infinite loop if function is passed to trap as argument 1172622 ksh dies with SIGSEGV if home directory is not writable 1174113 ksh v command in vi mode doesn't always replay command This patch fixes 3 bugs. If the trap command given to the DEBUG trap is a function, ksh will loop when processing the DEBUG trap. In certain cases, if your home directory is read-only, ksh will dump core when you log in. The "fc -e" command (which is called from the "v" command in vi mode) would refuse to run the commands in the file if the file was not changed. This was incorrect behavior. The commands are always run, unless the editor exits with a non-zero exit code. Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- None.