Patch Name: PHCO_28010 Patch Description: s700_800 11.11 bdiff(1) cumulative patch Creation Date: 03/07/16 Post Date: 03/08/04 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_28010 Symptoms: PHCO_28010: ( SR:8606318888 CR:JAGae81378 ) bdiff(1) gives output in different format than diff(1) in some cases. ( SR:8606301388 CR:JAGae64833 ) bdiff(1) behaves incorrectly. Defect Description: PHCO_28010: ( SR:8606318888 CR:JAGae81378 ) bdiff(1) gives output in different format than diff(1) when the two files are same except one line which is added/deleted at the end of one of the files Resolution: For single line differences at the end of two files, bdiff(1) has been changed to output in the same format as diff(1). ( SR:8606301388 CR:JAGae64833 ) bdiff(1) behaves incorrectly on files that are otherwise identical but a few lines are added/deleted at the end/start of one file. Steps to reproduce. $cat file1 line 1 $cat file2 line 1 line 2 $bdiff file1 file2 53687139602> line 2 <== The output is wrong Resolution: The formatting of the output has been corrected to rectify the problem. Enhancement: No SR: 8606301388 8606318888 Patch Files: OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/bdiff what(1) Output: OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/bdiff: bdiff.c $Date: 2002/12/05 02:46:04 $Revision: r11.11 /1 PATCH_11.11 (PHCO_28010) $Revision: @(#) bdiff CUP11.11_BL2003_0716_3 PATCH_1 1.11 PHCO_28010 Wed Jul 16 07:42:20 PDT 2003 $ cksum(1) Output: OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 1835572580 20480 /usr/bin/bdiff Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 30 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_28010 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_28010.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_28010. 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_28010.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_28010.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_28010.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None