Patch Name: PHCO_29757 Patch Description: s700_800 10.26 csh(1) cumulative patch Creation Date: 03/09/23 Post Date: 03/09/29 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: OS-Core.CMDS-MIN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_29757 Symptoms: PHCO_29757: Partial port of 10.20 patch PHCO_27819 to 10.26 (TOS). (PHCO_27819:) 1. ( SR:8606242998 CR:JAGae10232 ) csh(1) misbehaves when the file system is full. PHCO_19777: 1. Ported 10.20 patch PHCO_19434 to TOS. 2. Add auditing of kill builtin to show which process is signalled. 3. "cd" auditing data is not usable (PHCO_19434) 1. csh does not sort globbed output when using multi-byte NLS. 2. csh file globbing does not find >2Gb file. 3. csh file enquiries like if ( -f filename ) fail for large (>=2GB) files. 4. csh does not handle pwd correctly on LOFS (Loopback File System) mount. 5. csh doesn't handle SIGWINCH well. 6. Pattern match fails in case statement. (PHCO_17187) 1. Setting LC_ALL to some locale has no effect on the messages being displayed. 2. csh(1) does not handle file name globbing correctly. 3. csh(1) does not handle '\0' character in backtick substitution. 4. csh(1) does not interpret the left shift operator when it is given in the if-then-else statements. 5. csh(1) doesn't compare multibyte characters correctly in utf8. (PHCO_13632) 1. csh(1) exits with error message "Out of memory" while running large-scripts. (PHCO_12721) 1. csh(1) is not able to expand wildcard characters when it's used with quote characters. For example, ls "/bin"/* in csh gives /bin/: not found eventhough the directory /bin/ exists in a system. 2. csh(1) does not echo ^A (control-A) character. (PHCO_12010) 1. No special meaning should be given for \\ in the heredoc. 2. Changed MAXPATH to 4K to support PATH variable of size 4k. (PHCO_10908) 1. The character '\' also escapes non-special characters. (PHCO_9878) 1. csh prompts the error 'display_char(1): Invalid multibyte character' when -x option is enabled in multi-byte locales. 2. csh outputs the char '\' when it is used to escape the character which follows it. (PHCO_9329) 1. csh adds the character '01' in the output when using :q modifier. (PHCO_9199) 1. csh core dumps when using :q on a string contains both single and double quotes. (PHCO_8630) 1. A "\n" was not being interpreted by the builtin command echo if it is combined with command-substitution. 2. The PATH variable size has been increased to 4K. (PHCO_8333) 1. The value set to the shell variables 'term', 'user' and 'home' does not assign to the environment variables 'TERM', 'USER' and 'HOME'. 2. A newline in the sequence '\\n' is ignored if it's placed within double quotes. 3. csh hangs when applying :r modifier on a variable whose value does not contain .suffix. Defect Description: PHCO_29757: Partial port of 10.20 patch PHCO_27819 to 10.26 (TOS). (PHCO_27819:) 1. ( SR:8606242998 CR:JAGae10232 ) csh(1) misbehaves when the file system is full. Resolution: Problem has been fixed. PHCO_19777: 1. Ported 10.20 patch PHCO_19434 to TOS. 2. When the shell builtin kill is used, it now looks up the process name being signalled and records that in the audit log. 3. reduce(1M) could not figure out the current directory, so it recorded the inode. Inode information is very difficult to use for meaningful data. SR: 1653308668 1653257584 1653205583 8606100262 1653308023 4701418301 1653295451 8606102437 5003438903 1653276535 1653255398 1653258566 1653241323 4701374884 5003392464 1653230813 4701351320 1653198580 5003339564 4701341271 1653187617 1653180968 5003335133 1653214916 8606242998 Patch Files: /usr/bin/csh what(1) Output: /usr/bin/csh: 99/09/09 cmd/csh/pprintf.c, hpux, hpux_10.26, ic5ig Revision 1.2 PATCH_10.26 (PHCO_19777) UNMODI FIED 99/10/13 cmd/csh/sh.dir.c, hpux, hpux_10.26, ic5ig R evision 1.4 PATCH_10.26 (PHCO_19777) 03/09/16 cmd/csh/sh.dol.c, hpux, hpux_10.26, ic5ig R evision 1.3 PATCH_10.26 (PHCO_29757) UNMODIF IED 99/10/20 cmd/csh/sh.exec.c, hpux, hpux_10.26, ic5ig Revision 1.6 PATCH_10.26 (PHCO_19777) 99/09/09 cmd/csh/sh.exp.c, hpux, hpux_10.26, ic5ig R evision 1.2 PATCH_10.26 (PHCO_19777) UNMODIF IED 99/09/09 cmd/csh/sh.func.c, hpux, hpux_10.26, ic5ig Revision 1.2 PATCH_10.26 (PHCO_19777) UNMODI FIED 99/09/09 cmd/csh/sh.glob.c, hpux, hpux_10.26, ic5ig Revision 1.2 PATCH_10.26 (PHCO_19777) UNMODI FIED 99/09/09 cmd/csh/sh.lex.c, hpux, hpux_10.26, ic5ig R evision 1.2 PATCH_10.26 (PHCO_19777) UNMODIF IED 99/09/10 cmd/csh/sh.c, hpux, hpux_10.26, ic5ig Revis ion 1.3 PATCH_10.26 (PHCO_19777) 99/09/09 cmd/csh/sh.print.c, hpux, hpux_10.26, ic5ig Revision 1.2 PATCH_10.26 (PHCO_19777) UNMOD IFIED 99/09/27 cmd/csh/sh.proc.c, hpux, hpux_10.26, ic5ig Revision 1.4 PATCH_10.26 (PHCO_19777) 99/09/10 cmd/csh/sh.set.c, hpux, hpux_10.26, ic5ig R evision 1.2 PATCH_10.26 (PHCO_19777) UNMODIF IED 99/09/29 cmd/csh/csh_sec.c, hpux, hpux_10.26, ic5ig Revision 1.6 PATCH_10.26 (PHCO_19777) 2003/09/22 Hewlett-Packard HP-UX 10.26 TOS [ ic5ig - DAV17 ] $Revision: 78.10.1.31 $ cksum(1) Output: 4180261646 163840 /usr/bin/csh Patch Conflicts: None Patch Dependencies: s700: 10.26: PHCO_19933 s800: 10.26: PHCO_19933 Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_19777 Equivalent Patches: None Patch Package Size: 140 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_29757 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_29757.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_29757. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_29757.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_29757.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None