Patch Name: PHCO_17996 Patch Description: s700_800 10.24 (VVOS) nroff(1) Year 2000 fix Creation Date: 99/03/18 Post Date: 99/04/01 Hardware Platforms - OS Releases: s700: 10.24 s800: 10.24 Products: N/A Filesets: TextFormatters.TEXT-FMT Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s700_800/10.X/PHCO_17996 Symptoms: PHCO_17996: Repackaged HP-UX patch PHCO_17630 for VVOS. Based on HP-UX patch PHCO_17630: nroff -ms option appends the year field to "19" causing a 6 digit year output. This is due to a hardcoded "19" in the file tmac.s. PHCO_15713: Repackaged HP-UX patch PHCO_15204 for VVOS. Based on HP-UX patch PHCO_15204: Three digit year displayed starting year 2000. Defect Description: PHCO_17996: Repackaged HP-UX patch PHCO_17630 for VVOS. Based on HP-UX patch PHCO_17630: Since the file tmac.s has a hardcoded "19", the year field with the -ms option was getting appended to 19. The harcoded "19" has now been taken out and now there are no problems with the year field output with the -ms option. Resolution: The hardcoded "19" has now been taken out from the file tmac.s This was present as nroff(1) used to give the year field in 2 digits, nroff(1) has now been changed to give out the year field in 4 digits. After installation of the patch, nroff -ms gives the correct year PHCO_15713: Repackaged HP-UX patch PHCO_15204 for VVOS. Based on HP-UX patch PHCO_15204: Year displayed at year 2020 was "120". 1900 is added to display the real four digit year. SR: 4701391466 5003425900 4701417048 Patch Files: /usr/share/lib/macros/an /usr/share/lib/macros/mmn /usr/bin/nroff /usr/share/lib/tmac/tmac.s what(1) Output: /usr/bin/nroff: $Revision: 78.1.1.1 $ $Revision: 78.1.1.2 $ PATCH_10_20: hytab.o n1.o n10.o n2.o n3.o n4.o n5.o n6.o n7.o n8.o n9.o ni.o nii.o ntab.o hpux_r el.o freeze.o 99/02/22 PATCH-PHCO_16303 for 10.20; for 10.30, 11.x compatib ility libc.a_ID@@/main/r10dav/libc_dav/libc_ dav_cpe/8 /ux/core/libs/libc/archive_pa1/libc.a_ID Sep 11 1998 16:54:45 /usr/share/lib/macros/an: $Revision: 70.1.1.1 $ /usr/share/lib/macros/mmn: $Revision: 64.1.1.1 $ /usr/share/lib/tmac/tmac.s: None cksum(1) Output: 3065119098 364544 /usr/bin/nroff 3617081661 6010 /usr/share/lib/macros/an 2608418719 38777 /usr/share/lib/macros/mmn 1837010614 13556 /usr/share/lib/tmac/tmac.s Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_15713 Equivalent Patches: PHCO_17630: s700: 10.20 s800: 10.20 Patch Package Size: 480 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_17996 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_17996.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/PHCO_17996.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/PHCO_17996. 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_17996.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_17996.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None