Patch Name: PHCO_17711 Patch Description: s700_800 10.0X Year 2000 nroff(1) cumulative patch Creation Date: 99/02/22 Post Date: 99/03/12 Hardware Platforms - OS Releases: s700: 10.00 10.01 s800: 10.00 10.01 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_17711 Symptoms: PHCO_17711: 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_15097: Three digit year displayed starting year 2000. PHCO_6459: man(1) aborts because nroff(1) dumps core when the TMPDIR env variable is set to a value greater than 8 characters. Defect Description: PHCO_17711: 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_15097: Year displayed at year 2020 was "120". 1900 is added to display the real four digit year. PHCO_6459: man(1) aborts because of nroff(1) core dump when TMPDIR environment variable is set to a value greater than 8 characters. SR: 4701391466 5003292466 Patch Files: /usr/share/lib/macros/an /usr/share/lib/macros/mmn /usr/share/lib/tmac/tmac.s /usr/bin/nroff what(1) Output: /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 /usr/bin/nroff: $Revision: 78.1.1.1 $ $Revision: 78.1.1.2 $ PATCH_10_01: 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 /usr/lib/libc: $Revision: 76.3 $ cksum(1) Output: 3617081661 6010 /usr/share/lib/macros/an 2608418719 38777 /usr/share/lib/macros/mmn 1837010614 13556 /usr/share/lib/tmac/tmac.s 3340061650 327680 /usr/bin/nroff Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_6459 PHCO_15097 Equivalent Patches: PHCO_17710: s700: 10.10 s800: 10.10 PHCO_17712: s700: 11.00 s800: 11.00 PHCO_17630: s700: 10.20 s800: 10.20 Patch Package Size: 440 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_17711 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHCO_17711.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_17711.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_17711. 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_17711.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_17711.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None