Patch Name: PHCO_14125 Patch Description: s300_400 9.10 Changes so rcs commands work past year 2000 Creation Date: 98/02/12 Post Date: 98/02/17 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_14125 Symptoms: 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_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: 4701378349 Patch Files: /usr/bin/co /usr/bin/ci /usr/bin/rlog what(1) Output: /usr/bin/co: PATCH/9_1 PHCO_14125 $Revision: 70.4.1.1 $ /usr/bin/ci: PATCH/9_1 PHCO_14125 $Revision: 70.4.1.1 $ /usr/bin/rlog: PATCH/9_1 PHCO_14125 $Revision: 70.4.1.1 $ sum(1) Output: 48133 117 /usr/bin/co 24934 124 /usr/bin/ci 32081 86 /usr/bin/rlog Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_13689 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_14125 . sh PHCO_14125 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHCO_14125.updt PHCO_14125 Update moves the original software to /system/PHCO_14125/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHCO_14125 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHCO_14125.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None