Patch Name: PHCO_19813 Patch Description: s700_800 10.26 C++ function prototypes Creation Date: 99/11/04 Post Date: 99/11/05 Hardware Platforms - OS Releases: s700: 10.26 s800: 10.26 Products: N/A Filesets: ProgSupport.C-INC X11.X11R6-PRG Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_19813 Symptoms: PHCO_19813: 1. The C++ compiler fails to compile some C++ programs. 2. Compiling a C program including prot.h gives a warning message like Declaration of "passwd" not visible outside this function prototype scope. Defect Description: PHCO_19813: 1. The C++ compiler fails to compile some C++ programs because of missing function protypes from header files. 2. The "pwd.h" should be included before including "prot.h". SR: 0000000000 Patch Files: /usr/include/prot.h /usr/include/X11R6/X11/extensions/XSecurity.h /usr/include/ftw.h /usr/include/iconv.h /usr/include/malloc.h /usr/include/math.h /usr/include/mntent.h /usr/include/ndir.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/time.h /usr/include/utmp.h what(1) Output: /usr/include/prot.h: $Revision: 1.12 include/prot.h, hpux, hpux_10.26, ic 5dp $ $Date: 99/09/15 15:24:25 $ Hewlett-Pac kard Co. */ 99/09/15 include/prot.h, hpux, hpux_10.26, ic5dp Rev ision 1.12 PATCH_10.26 (PHCO_19813) */ /usr/include/X11R6/X11/extensions/XSecurity.h: $Revision: 1.3 x11r6/libs/Xsec/XSecurity.h, xclient, hpux_10.26, ic5dp $ $Date: 99/10/12 09:47:3 2 $ Hewlett-Packard Co. */ 99/10/12 x11r6/libs/Xsec/XSecurity.h, xclient, hpux_ 10.26, ic5dp Revision 1.3 PATCH_10.26 (PHCO_ 19813)*/ 01 1.8 x11r5/extensions/include/xsecurity/XSecurity. h, xsecext, hpux_mlpmp, mlpmp6 12:26:15 04/0 5/95, SecureWare, Inc. /usr/include/ftw.h: $Revision: ../hdr/ftw.h@@/main/r10dav/libc_dav/libc_ dav_cpe/3 $ */ $Revision: 1.1 head/ftw.h, xclient, hpux_10.26, ic5d p $ $Date: 99/09/15 14:46:04 $ Hewlett-Packa rd Co. */ $Revision: ../hdr/ftw.h@@/main/r10dav/libc_dav/libc_ dav_cpe/3 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/ftw.h, xclient, hpux_10.26, ic5dp Revi sion 1.1 PATCH_10.26 (PHCO_19813) UNMODIFIED */ /usr/include/iconv.h: $Revision: ../hdr/iconv.h@@/main/r10dav/libc_dav/lib c_dav_cpe/1 $ */ $Revision: 1.1 head/iconv.h, xclient, hpux_10.26, ic 5dp $ $Date: 99/09/15 14:49:35 $ Hewlett-Pac kard Co. */ $Revision: ../hdr/iconv.h@@/main/r10dav/libc_dav/lib c_dav_cpe/1 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/iconv.h, xclient, hpux_10.26, ic5dp Re vision 1.1 PATCH_10.26 (PHCO_19813) UNMODIFI ED */ /usr/include/malloc.h: $Revision: ../hdr/malloc.h@@/main/r10dav/libc_dav/li bc_dav_cpe/1 $ */ $Revision: 1.1 head/malloc.h, xclient, hpux_10.26, i c5dp $ $Date: 99/09/15 14:51:32 $ Hewlett-Pa ckard Co. */ $Revision: ../hdr/malloc.h@@/main/r10dav/libc_dav/li bc_dav_cpe/1 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/malloc.h, xclient, hpux_10.26, ic5dp R evision 1.1 PATCH_10.26 (PHCO_19813) UNMODIF IED */ /usr/include/math.h: $Revision: ../hdr/math.h@@/main/r10dav/libc_dav/libc _dav_cpe/6 $ */ $Revision: 1.1 head/math.h, xclient, hpux_10.26, ic5 dp $ $Date: 99/09/15 14:52:22 $ Hewlett-Pack ard Co. */ $Revision: ../hdr/math.h@@/main/r10dav/libc_dav/libc _dav_cpe/6 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/math.h, xclient, hpux_10.26, ic5dp Rev ision 1.1 PATCH_10.26 (PHCO_19813) UNMODIFIE D */ /usr/include/mntent.h: $Revision: 1.2 head/mntent.h, hpux, hpux_10.26, ic5d p $ $Date: 99/09/15 14:54:23 $ Hewlett-Packa rd Co. */ 99/09/15 head/mntent.h, hpux, hpux_10.26, ic5dp Revi sion 1.2 PATCH_10.26 (PHCO_19813) */ $Revision: 78.1 $ */ $Revision: Hewlett-Packard ISSL 1.8 head/mntent.h, h puxinc, vvos_davis, davis7 $ $Date: 96/12/05 07:20:22 $ */ /usr/include/ndir.h: $Revision: ../hdr/ndir.h@@/main/r10dav/libc_dav/libc _dav_cpe/4 $ */ $Revision: 1.1 head/ndir.h, xclient, hpux_10.26, ic5 dp $ $Date: 99/09/15 14:53:08 $ Hewlett-Pack ard Co. */ $Revision: ../hdr/ndir.h@@/main/r10dav/libc_dav/libc _dav_cpe/4 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/ndir.h, xclient, hpux_10.26, ic5dp Rev ision 1.1 PATCH_10.26 (PHCO_19813) UNMODIFIE D */ /usr/include/stdio.h: $Revision: ../hdr/stdio.h@@/main/r10dav/libc_dav/lib c_dav_cpe/1 $ */ $Revision: 1.1 head/stdio.h, xclient, hpux_10.26, ic 5dp $ $Date: 99/09/15 14:57:24 $ Hewlett-Pac kard Co. */ $Revision: ../hdr/stdio.h@@/main/r10dav/libc_dav/lib c_dav_cpe/1 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/stdio.h, xclient, hpux_10.26, ic5dp Re vision 1.1 PATCH_10.26 (PHCO_19813) UNMODIFI ED */ /usr/include/stdlib.h: $Revision: ../hdr/stdlib.h@@/main/r10dav/libc_dav/li bc_dav_cpe/1 $ */ $Revision: 1.1 head/stdlib.h, xclient, hpux_10.26, i c5dp $ $Date: 99/09/15 15:01:02 $ Hewlett-Pa ckard Co. */ $Revision: ../hdr/stdlib.h@@/main/r10dav/libc_dav/li bc_dav_cpe/1 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/stdlib.h, xclient, hpux_10.26, ic5dp R evision 1.1 PATCH_10.26 (PHCO_19813) UNMODIF IED */ /usr/include/time.h: $Revision: ../hdr/time.h@@/main/r10dav/libc_dav/libc _dav_cpe/4 $ */ $Revision: 1.1 head/time.h, xclient, hpux_10.26, ic5 dp $ $Date: 99/09/15 15:02:22 $ Hewlett-Pack ard Co. */ $Revision: ../hdr/time.h@@/main/r10dav/libc_dav/libc _dav_cpe/4 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/time.h, xclient, hpux_10.26, ic5dp Rev ision 1.1 PATCH_10.26 (PHCO_19813) UNMODIFIE D */ /usr/include/utmp.h: $Revision: ../hdr/utmp.h@@/main/r10dav/libc_dav/libc _dav_cpe/1 $ */ $Revision: 1.1 head/utmp.h, xclient, hpux_10.26, ic5 dp $ $Date: 99/09/15 15:03:57 $ Hewlett-Pack ard Co. */ $Revision: ../hdr/utmp.h@@/main/r10dav/libc_dav/libc _dav_cpe/1 $ PATCH_10.20 (PHCO_14645) 99/09/15 head/utmp.h, xclient, hpux_10.26, ic5dp Rev ision 1.1 PATCH_10.26 (PHCO_19813) UNMODIFIE D */ cksum(1) Output: 1532415920 38813 /usr/include/prot.h 2817094805 19241 /usr/include/X11R6/X11/extensions/ XSecurity.h 3537142155 8927 /usr/include/ftw.h 3519703344 2715 /usr/include/iconv.h 3694771880 2563 /usr/include/malloc.h 4221977804 15277 /usr/include/math.h 1039214 7545 /usr/include/mntent.h 836496698 5290 /usr/include/ndir.h 2586392672 19733 /usr/include/stdio.h 3919642795 12322 /usr/include/stdlib.h 1999937511 7154 /usr/include/time.h 3647911651 4219 /usr/include/utmp.h Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 210 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_19813 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_19813.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHCO_19813. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHCO_19813.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_19813.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None