Patch Name: PHCO_28629 Patch Description: s700_800 11.00 diff3(1) cumulative patch Creation Date: 03/03/25 Post Date: 03/04/08 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_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_28629 Symptoms: PHCO_28629: ( SR: 8606294579 CR: JAGae58276) diff3(1) command leaves unwanted tmp files in /var/tmp. Defect Description: PHCO_28629: ( SR: 8606294579 CR: JAGae58276) 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 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: 8606294579 Patch Files: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/diff3 what(1) Output: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/diff3: $Revision: 82.1.1.1 $ cksum(1) Output: OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 894058852 703 /usr/bin/diff3 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None 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_28629 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_28629.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_28629. 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_28629.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_28629.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_28629.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None