Patch Name: PHKL_27023 Patch Description: s700_800 11.00 gettimeofday(2) man page Creation Date: 02/05/13 Post Date: 02/05/28 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP ProgSupport.PAUX-JPN-E-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP ProgSupport.PAUX-JPN-S-MAN,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/PHKL_27023 Symptoms: PHKL_27023: ( SR:8606230416 CR:JAGad99466 ) The gettimeofday(2) man page incorrectly defines the data type for the tv_sec field in struct timeval. Defect Description: PHKL_27023: ( SR:8606230416 CR:JAGad99466 ) The gettimeofday(2) man page defines the type of the tv_sec field in struct timeval as unsigned long, which does not match the definition for that field in the time.h header file. Resolution: The type definition for tv_sec in the gettimeofday(2) man page has been changed to correspond to the definition found in the time.h header file. SR: 8606230416 Patch Files: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man2.Z/gettimeofda.2 ProgSupport.PAUX-JPN-E-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/ja_JP.eucJP/man2.Z/gettimeofda.2 ProgSupport.PAUX-JPN-S-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/ja_JP.SJIS/man2.Z/gettimeofda.2 what(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man2.Z/gettimeofda.2: None ProgSupport.PAUX-JPN-E-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/ja_JP.eucJP/man2.Z/gettimeofda.2: None ProgSupport.PAUX-JPN-S-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/ja_JP.SJIS/man2.Z/gettimeofda.2: None cksum(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 2237896837 2334 /usr/share/man/man2.Z/gettimeofda.2 ProgSupport.PAUX-JPN-E-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 2576186236 2452 /usr/share/man/ja_JP.eucJP/man2.Z/ gettimeofda.2 ProgSupport.PAUX-JPN-S-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 1653391469 2471 /usr/share/man/ja_JP.SJIS/man2.Z/ gettimeofda.2 Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None 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 PHKL_27023 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_27023.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_27023. 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 PHKL_27023.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_27023.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_27023.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None