Patch Name: PHCO_27943 Patch Description: s700_800 11.00 dc(1) cumulative patch Creation Date: 02/10/04 Post Date: 02/12/03 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CMDS-MIN,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_27943 Symptoms: PHCO_27943: 1.dc(1) inserts non-numeric characters in the output in some cases. Defect Description: PHCO_27943: 1.bc(1) which internally calls dc(1) , calculates improper results in some cases and the problem was introduced while trying to optimize the multiplication for magic case greater than zero. Here are the steps to reproduce the problem : $ cat testfile 15407010000 3423788 / p q $ Run dc(1) command with testfile as input : The Results obtained are : $ /usr/bin/dc < testfile 450-101 $ Resolution: The multiplication by 2 and division by 25 has been avoided now to optimize multiplication and hence obtain the expected results . Enhancement: No SR: 8606269635 Patch Files: OS-Core.CMDS-MIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/dc what(1) Output: OS-Core.CMDS-MIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/bin/dc: $Revision: 76.5.1.2 $ PATCH_11_00: dc.o hpux_rel.o 02/10/04 cksum(1) Output: OS-Core.CMDS-MIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 715091051 49152 /usr/bin/dc Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 70 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_27943 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_27943.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_27943. 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_27943.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_27943.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_27943.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None