Patch Name: PHCO_13536 Patch Description: s300_400 9.10 Changes so pr(1) works correctly past 2000 Creation Date: 97/12/15 Post Date: 97/12/19 Hardware Platforms - OS Releases: s300_400: 9.10 Products: N/A Filesets: CMDS-MIN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHCO_13536 Symptoms: PHCO_13536: pr(1) With system date set to year 2000 or greater pr -h " year 2000 test" < text00 gives output of: Dec 01 15:51 1900 year 2000 test Page 1 Century is hardcoded to 19. sccsdiff(1) With system date set to year 2000 or greater sccsdiff -p option also shows hardcoded century of 19. Defect Description: PHCO_13536: Code in pr.c has century hardcoded to value of 19. The sccsdiff script uses pr -h command. SR: 4701377556 Patch Files: /bin/pr what(1) Output: /bin/pr: $Patch/9_1 PHCO_13536 Revision: 70.7.1.1 $ sum(1) Output: 60145 29 /bin/pr Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 70 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. Copy the patch to your /tmp directory and unshar it: cd /tmp cp patch_source/PHCO_13536 . sh PHCO_13536 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHCO_13536.updt PHCO_13536 Update moves the original software to /system/PHCO_13536/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHCO_13536 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHCO_13536.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None