Patch Name: PHCO_24703 Patch Description: s700_800 11.00 sccs(1) cumulative patch Creation Date: 01/10/29 Post Date: 01/11/07 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_24703 Symptoms: PHCO_24703: sccs(1) command exits with Usage message "Usage: sccs [-r] [-d pathname] [-p pathname] command [flags] [file ...]" if the pathname argument to -p and -d options is name of an sccs(1) command name. PHCO_17076: sccs val is not completely Y2K safe. Due to a memory corruption, sccs val used to issue an error message if reused on the same input file. PHCO_16253: Patch PHCO_15172 for sccs is not Y2K safe. Archive files created before the year 2000 are not usable in year 2000 using sccs val. After setting the system clock to a date beyond 1999 if val is used on a file created before year 2000 then, sccs val displays the following error message - "s.abc: corrupted SCCS file delta creation date out of sequence or in the future (val2) " PHCO_15217: Year displayed in two digits PHCO_13332: SCCS(1) problems with comments,date,time and version numbers. Defect Description: PHCO_24703: sccs(1) does not allow any valid sccs command name as an argument to -d and -p options. For example: sccs -d admin -p mydir admin -iadmin/file file or sccs -d mydir -p admin admin -iadmin/file file exits with Usage message. "sccs [-r] [-d pathname] [-p pathname] command [flags] [file ...]" Resolution: The problem was due to incorrect parsing of arguments in -p and -d options of the command. Now the problem is rectified and these options accepts any sccs command name as argument. PHCO_17076: sccs val is not completely Y2K safe. Due to a memory corruption sccs val used to issue an error message if reused on the same input file. After setting the system clock to a date beyond 1999, if val is used on a file created before year 2000 then, sccs val executes correctly the first time, but if sccs val is used a second time with the same input file for example "s.abc" then it displays the following error message - "s.abc: corrupted SCCS file delta creation date out of sequence or in the future (val2) ". Resolution: This was due to a memory corruption problem. This has been rectified by introducing a "memset()" call. After the patch has been applied sccs val should not issue any error messages. PHCO_16253: Patch PHCO_15172 for sccs is not Y2K safe. Archive files created before the year 2000 are not usable in year 2000 using sccs val. After setting the system clock to a date beyond 1999 if val is used on a file created before year 2000 then, sccs val displays the following error message - "s.abc: corrupted SCCS file delta creation date out of sequence or in the future (val2) " sccs val does not seem to realize that the year "00" is later than "98". The above mentioned problem was because the function being used to compare two date strings was incorrect. This has been rectified now. After the patch has been applied sccs val should not issue any error messages. PHCO_15217: Year displayed in two digits PHCO_13332: sccs comb() has the following problems. .The comments are messed up. .versions are renumbered. SR: 8606192884 1653279885 1653267963 1653229922 Patch Files: SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/admin /usr/bin/cdc /usr/bin/comb /usr/bin/delta /usr/bin/get /usr/bin/prs /usr/bin/rmchg /usr/bin/rmdel /usr/bin/sact /usr/bin/sccs /usr/bin/sccsdiff /usr/bin/unget /usr/bin/val /usr/bin/vc what(1) Output: SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/admin: $Revision: 82.1.1.1 $ PATCH_11_00: admin.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/cdc: $Revision: 76.1 $ PATCH_11_00: rmchg.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/comb: $Revision: 82.1 $ PATCH_11_00: comb.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/delta: $Revision: 82.1.1.1 $ PATCH_11_00: delta.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/get: $Revision: 82.2.1.1 $ PATCH_11_00: get.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/prs: $Revision: 82.1.1.1 $ PATCH_11_00: prs.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/rmchg: $Revision: 76.1 $ PATCH_11_00: rmchg.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/rmdel: $Revision: 76.1 $ PATCH_11_00: rmchg.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/sact: $Revision: 76.1 $ PATCH_11_00: unget.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/sccs: $Revision: 80.1.1.1 $ PATCH_11_00: sccs.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/sccsdiff: $Revision: 72.1 $ SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/unget: $Revision: 76.1 $ PATCH_11_00: unget.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/val: $Revision: 80.1.1.2 $ PATCH_11_00: val.o 01/10/29 SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: /usr/bin/vc: $Revision: 80.1 $ PATCH_11_00: vc.o 01/10/29 cksum(1) Output: SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 810043961 61440 /usr/bin/admin SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1847661125 53248 /usr/bin/cdc SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3242586221 40960 /usr/bin/comb SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1858118634 65536 /usr/bin/delta SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 978057019 61440 /usr/bin/get SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1039632250 49152 /usr/bin/prs SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1847661125 53248 /usr/bin/rmchg SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1847661125 53248 /usr/bin/rmdel SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3630427339 32768 /usr/bin/sact SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1960678839 32768 /usr/bin/sccs SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3909501840 1236 /usr/bin/sccsdiff SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 3630427339 32768 /usr/bin/unget SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 1030180663 28672 /usr/bin/val SourceControl.SRC-CNTL,fr=B.11.00,fa=HP-UX_B.11.00_32/64, v=HP: 2760241800 28672 /usr/bin/vc Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_13332 PHCO_15217 PHCO_16253 PHCO_17076 Equivalent Patches: None Patch Package Size: 480 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. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_24703 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_24703.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_24703. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_24703.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_24703.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_24703.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_24703.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None