Patch Name: PHCO_17505 Patch Description: s300_400 9.10 Changes so rcs commands work past year 2000 Creation Date: 99/02/08 Post Date: 99/02/22 Hardware Platforms - OS Releases: s300_400: 9.10 Products: N/A Filesets: SRC-CNTL Automatic Reboot?: No Status: General Release Critical: No Path Name: /hp-ux_patches/s300_400/9.X/PHCO_17505 Symptoms: PHCO_17505: For compatibility with 10.x RCS year 2000 patches, the internal RCS header year format is now two digits for years 1999 and prior, and 4 digits for years 2000 and later. PHCO_14125: For compatibility with 10.x RCS year 2000 patches, the internal RCS header year format is now two digits, i.e. for the year 2003, is formatted as 03. PHCO_13689: co -d, rlog -d broke at dates > 1999 -d"00/01/01" does not work correctly -d"Jan 1, 2000" does not work correctly -d"2000/01/01" does not work correctly co, ci and rlog print out three digit years instead of two digit years, i.e. 103 instead of 03 for year 2003. Defect Description: PHCO_17505: 10.x RCS changed the way that years are stored in the RCS header after the previous patch (PHCO_14125) was already released. PHCO_14125: The internal rcs code put a tm_year value into the RCS header. For years 2000 and beyond this was a three digit number. For compatibility with the 10.x year 2000 patches this needed to be a two digit year representation. Needed to add code to handle two digit year comparisons. PHCO_13689: The code for parsing dates in rcs did not correctly handle years past 1999. The code for printing dates did not correctly format output years from a tm_year structure. SR: 4701414680 4701378349 Patch Files: /usr/bin/co /usr/bin/ci /usr/bin/rlog what(1) Output: /usr/bin/co: PATCH/9_1 PHCO_17505 $Revision: 70.4.1.1 $ /usr/bin/ci: PATCH/9_1 PHCO_17505 $Revision: 70.4.1.1 $ /usr/bin/rlog: PATCH/9_1 PHCO_17505 $Revision: 70.4.1.1 $ sum(1) Output: 61484 117 /usr/bin/co 33493 125 /usr/bin/ci 60005 86 /usr/bin/rlog Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_13689 PHCO_14125 Equivalent Patches: None Patch Package Size: 220 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_17505 . sh PHCO_17505 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHCO_17505.updt PHCO_17505 Update moves the original software to /system/PHCO_17505/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHCO_17505 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHCO_17505.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None