Patch Name: PHCO_20524 Patch Description: s300_400 9.10 Changes pr, cpio, ar for Y2K fixes Creation Date: 99/11/24 Post Date: 99/12/20 Hardware Platforms - OS Releases: s300_400: 9.10 Products: N/A Filesets: CMDS-MIN SYS-ADMIN Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHCO_20524 Symptoms: PHCO_20524: set date to some date with 20xx as year export $LANG=C cat file | pr gives output of Feb. 22 12:05 1900 Page 1 When used to print out the table of contents, the verbose output from ftio, cpio, and ar commands will always display 19 as the century in the date. PHCO_13536: With system date set to year 2000 or greater, pr -h " year 2000 test" < text00 gives the year as 1900. sccsdiff(1) With system date set to year 2000 or greater, sccsdiff -p option also shows hardcoded century of 19. Defect Description: PHCO_20524: Hardcoded %19y in nls message catalog files and in source code files (in case message catalog files were unavailable). PHCO_13536: Changes so pr(1) works correctly past 2000 SR: 4701377556 Patch Files: /bin/pr /usr/lib/nls/C/pr.cat /bin/cpio /usr/lib/nls/C/cpio.cat /bin/ar /usr/lib/nls/C/ar.cat /usr/bin/ftio what(1) Output: /bin/pr: $Patch/9_1 PHCO_20524 Revision: 70.7.1.1 $ /usr/lib/nls/C/pr.cat: None /bin/cpio: $Patch/9_1 PHCO_20524 Revision: 72.12 $ /usr/lib/nls/C/cpio.cat: None /bin/ar: $Patch/9_1 PHCO_20524 Revision: 70.5.1.1 $ /usr/lib/nls/C/ar.cat: None /usr/bin/ftio: $PATCH/9_1 PHCO_20524 Revision: 72.7 $ sum(1) Output: 60140 29 /bin/pr 14631 1 /usr/lib/nls/C/pr.cat 31778 66 /bin/cpio 55190 10 /usr/lib/nls/C/cpio.cat 18670 29 /bin/ar 991 3 /usr/lib/nls/C/ar.cat 16602 86 /usr/bin/ftio Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_13536 Equivalent Patches: None Patch Package Size: 170 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_20524 . sh PHCO_20524 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHCO_20524.updt PHCO_20524 Update moves the original software to /system/PHCO_20524/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHCO_20524 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHCO_20524.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None