Patch Name: PHKL_18926 Patch Description: s700_800 11.04 (VVOS) pthread(3t) man page defect fix Creation Date: 99/06/16 Post Date: 99/09/01 Hardware Platforms - OS Releases: s700: 11.04 s800: 11.04 Products: N/A Filesets: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.04,fa=HP-UX_B.11.04_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_18926 Symptoms: PHKL_18926: Repackaged HP-UX patch PHKL_14999 for VVOS. Based on PHKL_14999: The pthread(3t) man page does not document the fact that specifying "-D_POSIX_C_SOURCE=199506L" restricts the program being compiled to the POSIX namespace. Defect Description: PHKL_18926: Repackaged HP-UX patch PHKL_14999 for VVOS. Resolution: Repackaged HP-UX patch PHKL_14999. Based on PHKL_14999: Using pthread library interfaces requires "-D_POSIX_C_SOURCE=199506L" to be specified in the compilation command line. However, this restricts the program to interfaces in the POSIX namespaces if the classic ANSI compiler is being used. To use interfaces in the larger X/Open namespaces, "-D_XOPEN_SOURCE_EXTENDED" or "-D_HPUX_SOURCE" must be additionally specified. This restriction is being documented in the man page. SR: 4701389650 Patch Files: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /usr/share/man/man3.Z/pthread.3t what(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: /usr/share/man/man3.Z/pthread.3t: None cksum(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.04, fa=HP-UX_B.11.04_32/64,v=HP: 1452279317 19116 /usr/share/man/man3.Z/pthread.3t Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHKL_14999: 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 PHKL_18926 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_18926.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_18926. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHKL_18926.depot 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_18926.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_18926.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_18926.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None