Patch Name: PHCO_28672 Patch Description: s700_800 11.11 diff3(1) cumulative patch Creation Date: 03/05/13 Post Date: 03/06/03 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CMDS-AUX,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_28672 Symptoms: PHCO_28672: ( SR:8606297169 CR:JAGae60688 ) diff3(1) command leaves unwanted temporary files in /var/tmp. Defect Description: PHCO_28672: ( SR:8606297169 CR:JAGae60688 ) The diff3(1) command creates temporary files in /var/tmp while processing the input files. These files are not cleaned up by diff3(1) upon exiting, which leads to unnecessary consumption of disk space. This problem can be reproduced as follows: 1. ls /var/tmp/d3* /var/tmp/d3* not found 2. cat file1 line1 3. cat file2 line2 4. cat file3 line3 5. diff3 file1 file2 file3 ==== 1:1c line 1 2:1c line 2 3:1c line 3 6. ls /var/tmp/d3* /var/tmp/d3c1071 Resolution: diff3(1) has been modified to clean up temporary files before exit. Enhancement: No SR: 8606297169 Patch Files: OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/diff3 what(1) Output: OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/diff3: diff3.sh $Date: 2003/05/09 06:49:34 $Revision: r11.1 1/3 PATCH_11.11 (PHCO_28672) cksum(1) Output: OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 4239453153 753 /usr/bin/diff3 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_28629: s700: 11.00 s800: 11.00 Patch Package Size: 20 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_28672 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_28672.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_28672. 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_28672.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_28672.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_28672.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None