Patch Name: PHCO_27944 Patch Description: s700_800 11.11 dc(1) cumulative patch Creation Date: 03/06/03 Post Date: 03/07/01 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_27944 Symptoms: PHCO_27944: ( SR:8606269635 CR:JAGae33870 ) dc(1) inserts non-numeric characters in the output while doing division of large numbers. Defect Description: PHCO_27944: ( SR:8606269635 CR:JAGae33870 ) dc(1) displays improper results in some cases that involve division of large numbers. The problem can be reproduced as: $ cat testfile 15407010000 3423788 / p q $ dc < testfile 450-101 <== It should be 4499 Resolution: Division of numbers involves shift operation, which is now optimized to compute the correct results. Enhancement: No SR: 8606269635 Patch Files: OS-Core.CMDS-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/dc what(1) Output: OS-Core.CMDS-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/dc: dc.c $Date: 2002/11/24 22:33:53 $Revision: r11.11/1 PATCH_11.11 (PHCO_27944) $Revision: @(#) all CUP11.11_BL2003_0603_1 PATCH_11. 11 PHCO_27944 Tue Jun 3 02:35:25 PDT 2003 $ cksum(1) Output: OS-Core.CMDS-MIN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 988272862 40960 /usr/bin/dc Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHCO_27943: s700: 11.00 s800: 11.00 Patch Package Size: 40 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_27944 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27944.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27944. 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_27944.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27944.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27944.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None