Patch Name: PHSS_15168 Patch Description: s700_800 10.X FORTRAN90 1.0 Y2K patch (libU77) Creation Date: 98/05/15 Post Date: 98/05/20 Hardware Platforms - OS Releases: s700: 10.01 10.10 10.20 s800: 10.01 10.10 10.20 Products: FORTRAN90 B.10.20 Filesets: FORTRAN90.FORT90-MAN FORTRAN90.FORT90-PRG Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHSS_15168 Symptoms: PHSS_15168: Two of the libU77 routines return a 2 digit year field. These routines are difficult to use in a Y2K compliant manner. In year 2000, these routines will return "00" as the year, possibly causing users programs to fail. Defect Description: PHSS_15168: The original code from the University of California at Berkley for the "f77" product and libraries was written many years ago, and was not designed with the Y2K issues in mind. Fortran90 has inherited some of these libraries and interfaces. Since we can't change the interface/functionality of these widely available routines (they exist on most competitors machines), we've added new versions of these routines which return a 4 digit year field. SR: 0000000000 Patch Files: /opt/fortran90/lib/libU77.a /opt/fortran90/lib/libU77.alias /opt/fortran90/lib/libp/libU77.a /opt/fortran90/share/man/man3.Z/date.3f /opt/fortran90/share/man/man3.Z/datey2k.3f /opt/fortran90/share/man/man3.Z/idate.3f /opt/fortran90/share/man/man3.Z/idatey2k.3f what(1) Output: /opt/fortran90/lib/libU77.a: HP-UX libU77.a 980518 (135419) B3906AA/B3908AA PHSS _15168 B.10.20.13 /opt/fortran90/lib/libU77.alias: None /opt/fortran90/lib/libp/libU77.a: HP-UX libU77_p.a 980518 (135439) B3906AA/B3908AA PH SS_15168 B.10.20.13 /opt/fortran90/share/man/man3.Z/date.3f: None /opt/fortran90/share/man/man3.Z/datey2k.3f: None /opt/fortran90/share/man/man3.Z/idate.3f: None /opt/fortran90/share/man/man3.Z/idatey2k.3f: None cksum(1) Output: 4258378123 87100 /opt/fortran90/lib/libU77.a 3246194398 1662 /opt/fortran90/lib/libU77.alias 2092849161 116624 /opt/fortran90/lib/libp/libU77.a 1156169395 783 /opt/fortran90/share/man/man3.Z/date.3f 603528306 721 /opt/fortran90/share/man/man3.Z/datey2k.3f 1978252090 952 /opt/fortran90/share/man/man3.Z/idate.3f 3944501513 781 /opt/fortran90/share/man/man3.Z/idatey2k.3f Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: PHSS_15169: s700: 11.00 s800: 11.00 Patch Package Size: 260 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 PHSS_15168 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHSS_15168.depot 5b. For a homogeneous NFS Diskless cluster run swcluster on the server to install the patch on the server and the clients: swcluster -i -b This will invoke swcluster in the interactive mode and force all clients to be shut down. WARNING: All cluster clients must be shut down prior to the patch installation. Installing the patch while the clients are booted is unsupported and can lead to serious problems. The swcluster command will invoke an swinstall session in which you must specify: alternate root path - default is /export/shared_root/OS_700 source depot path - /tmp/PHSS_15168.depot To complete the installation, select the patch by choosing "Actions -> Match What Target Has" and then "Actions -> Install" from the Menubar. 5c. For a heterogeneous NFS Diskless cluster: - run swinstall on the server as in step 5a to install the patch on the cluster server. - run swcluster on the server as in step 5b to install the patch on the cluster clients. By default swinstall will archive the original software in /var/adm/sw/patch/PHSS_15168. 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 PHSS_15168.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/PHSS_15168.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None