SCCS bug with "NULL" deltas

John F. Haugh II jfh at rpp386.cactus.org
Wed Nov 28 17:58:48 AEST 1990


Can anyone tell me if this is in all System Vs, or just SCO Xenix.  The
problem is that if you create an SCCS file with the "n" flag (create
null deltas for skipped over releases) and then actually try to use the
feature, you wind up with a corrupted SCCS file.  The corruption appears
to be related to the creation of the null delta.  Look for the line
with "AUTO NULL DELTA".  The previous line is corrupted.
--
Script is typescript, started Wed Nov 28 00:50:36 1990
rpp386-> date > foo
rpp386-> admin -ifoo -fn s.foo
No id keywords (cm7)
rpp386-> rm foo
rpp386-> get -e -r3 s.foo
1.1
new delta 3.1
1 lines
rpp386-> date >> foo
rpp386-> delta s.foo
comments? added another date
No id keywords (cm7)
3.1
1 inserted
0 deleted
1 unchanged
rpp386-> prs s.foo
ERROR [s.foo]: format error at line 6 (co4)
rpp386-> cat s.foo
^Ah19610
^As 00001/00000/00001
^Ad D 3.1 90/11/28 00:51:11 jfh 3 2
^Ac added another date
^Ae
r (cm1)^Ad D 2.1 90/11/28 00:51:11 jfh 2 1
^Ac AUTO NULL DELTA
^Ae
^As 00001/00000/00000
^Ad D 1.1 90/11/28 00:50:47 jfh 1 0
^Ac date and time created 90/11/28 00:50:47 by jfh
^Ae
^Au
^AU
^Af n 
^At
^AT
^AI 1
Wed Nov 28 00:50:40 CST 1990
^AI 3
Wed Nov 28 00:51:02 CST 1990
^AE 3
^AE 1
rpp386-> exit
Script done Wed Nov 28 00:51:29 1990
-- 
John F. Haugh II                             UUCP: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 832-8832                           Domain: jfh at rpp386.cactus.org
"SCCS, the source motel!  Programs check in and never check out!"
		-- Ken Thompson



More information about the Comp.unix.xenix.sco mailing list