Patch Name: PHCO_13410 Patch Description: s300_400 9.10 sccs commands changed to work past year 199 Creation Date: 97/12/09 Post Date: 97/12/15 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_13410 Symptoms: PHCO_13410: prs(1) option -d Dy for years past 1999 displays three digits instead of the expected two digits, i.e. displays 103 when it should show 03 for the year 2003. prs(1) options -e or -l do not handle the year 1999 correctly. get -c99 -e s.file.c ERROR: invalid cutoff date (prs4) comb(1), delta(1), get(1), rmchg(1) [rmdel(1), cdc(1)] do not work correctly with sccs files in the year 1999. Examples are: get -c99 s.file.c ERROR: bad date/time (cm5) get s.file.c ERROR [s.file.c]: format error at line 3 (co4) Defect Description: PHCO_13410: The code in prs(1) did not use the tm->year correctly. The routine used to check the date for comb(1), delta(1), get(1), prs(1), and rmchg(1) did not properly check for the year 1999. SR: 4701376665 Patch Files: /usr/bin/cdc /usr/bin/comb /usr/bin/delta /usr/bin/get /usr/bin/prs /usr/bin/rmchg /usr/bin/rmdel what(1) Output: /usr/bin/cdc: $PATCH/9_1 PHCO_13410 Revision: 64.2 $ /usr/bin/comb: $PATCH/9_1 PHCO_13410 Revision: 66.1 $ /usr/bin/delta: $PATCH/9_1 PHCO_13410 Revision: 64.5 $ /usr/bin/get: $PATCH/9_1 PHCO_13410 Revision: 64.4 $ /usr/bin/prs: $PATCH/9_1 PHCO_13410 Revision: 64.3 $ /usr/bin/rmchg: $PATCH/9_1 PHCO_13410 Revision: 64.2 $ /usr/bin/rmdel: $PATCH/9_1 PHCO_13410 Revision: 64.2 $ sum(1) Output: 19195 65 /usr/bin/cdc 12524 44 /usr/bin/comb 52212 87 /usr/bin/delta 53779 77 /usr/bin/get 23424 53 /usr/bin/prs 19195 65 /usr/bin/rmchg 19195 65 /usr/bin/rmdel Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: None 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_13410 . sh PHCO_13410 3. Become root and run update: /etc/update [-r [kernel_gen_file]] -s \ /tmp/PHCO_13410.updt PHCO_13410 Update moves the original software to /system/PHCO_13410/orig. Keep this file to recover from any potential problems. You should move the .text file to /system/PHCO_13410 for future reference. To put this patch on a magnetic tape and update from the tape drive, use dd: dd if=PHCO_13410.updt of=/dev/rmt/0m bs=2048 Special Installation Instructions: None