Patch Name: PHCO_26898 Patch Description: s700_800 11.11 compress(1) patch Creation Date: 02/06/14 Post Date: 02/06/19 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CMDS-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_26898 Symptoms: PHCO_26898: ( SR:8606239778 CR:JAGae08203 ) compress(1) command exits with an error message "toolong: Value too large to be stored in data type" for large files in some cases. Defect Description: PHCO_26898: ( SR:8606239778 CR:JAGae08203 ) The command "compress -f " exits with an error message if all the following cases occur simultaneously: a) .Z exists in the same directory b) File name length of .Z is more than 14 characters c) The size of .Z is more than 2GB. The error message is "toolong:Value too large to be stored in data type" Eg: $ wc -c loooong_file_name* 33030144 loooong_file_name 2150809073 loooong_file_name.Z $ compress -f loooong_file_name toolong: Value too large to be stored in data type loooong_file_name: filename too long to tack on .Z Resolution: compress(1) command was using 32 bit stat(2) call which fails with EOVERFLOW when invoked on large files. Now, the compress command is modified to use the 64bit version of stat(2). SR: 8606239778 Patch Files: OS-Core.CMDS-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/compress /usr/bin/uncompress /usr/bin/zcat what(1) Output: OS-Core.CMDS-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/compress: compress.c $Date: 2002/06/05 04:56:40 $Revision: r11 .11/1 PATCH_11.11 (PHCO_26898) $Revision: @(#) compress CUP11.11_BL2002_0614_16 PAT CH_11.11 PHCO_26898 Fri Jun 14 15:50:06 PDT 2002 $ /usr/bin/uncompress: compress.c $Date: 2002/06/05 04:56:40 $Revision: r11 .11/1 PATCH_11.11 (PHCO_26898) $Revision: @(#) compress CUP11.11_BL2002_0614_16 PAT CH_11.11 PHCO_26898 Fri Jun 14 15:50:06 PDT 2002 $ /usr/bin/zcat: compress.c $Date: 2002/06/05 04:56:40 $Revision: r11 .11/1 PATCH_11.11 (PHCO_26898) $Revision: @(#) compress CUP11.11_BL2002_0614_16 PAT CH_11.11 PHCO_26898 Fri Jun 14 15:50:06 PDT 2002 $ cksum(1) Output: OS-Core.CMDS-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 2499003347 28672 /usr/bin/compress 2499003347 28672 /usr/bin/uncompress 2499003347 28672 /usr/bin/zcat Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_26897: s700: 11.00 s800: 11.00 Patch Package Size: 50 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_26898 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_26898.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_26898. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_26898.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_26898.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_26898.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None