[comp.bugs.sys5] SCCS bug with "NULL" deltas

jfh@rpp386.cactus.org (John F. Haugh II) (11/28/90)

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@rpp386.cactus.org
"SCCS, the source motel!  Programs check in and never check out!"
		-- Ken Thompson

gwyn@smoke.brl.mil (Doug Gwyn) (11/29/90)

In article <18758@rpp386.cactus.org> jfh@rpp386.cactus.org (John F. Haugh II) writes:
>Can anyone tell me if this is in all System Vs, or just SCO Xenix.

It's certainly not a bug in all System Vs, since the version that I maintain
passed your test with no problem.  I recall making many bug fixes to SCCS
sources, some of which may not have been picked up by all vendors.  Perhaps
one of the bugs I fixed was the one you reported; I can't easily check.

jfh@greenber.austin.ibm.com (John F. Haugh II) (11/30/90)

In article <14601@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes:
>In article <18758@rpp386.cactus.org> jfh@rpp386.cactus.org (John F. Haugh II) writes:
>>Can anyone tell me if this is in all System Vs, or just SCO Xenix.
>
>It's certainly not a bug in all System Vs, since the version that I maintain
>passed your test with no problem.  I recall making many bug fixes to SCCS
>sources, some of which may not have been picked up by all vendors.  Perhaps
>one of the bugs I fixed was the one you reported; I can't easily check.

I've since tried this on a number of other systems, plus received
quite a few replies from others and this seems to be limited to some
version of SCO Xenix.

The AIX/PS 2 SCCS passes the test as well.  Anyone else have this =fail=?
I'm tired of hearing that it works everywheres ;-)
-- 
John F. Haugh II       | This space intentionally |    MaBellNet: (512) 838-4330
SneakerNet: 809/1C079  |      left blank ...      |      VNET: LCCB386 at AUSVMQ
BangNet: ...!cs.utexas.edu!ibmchs!auschs!snowball.austin.ibm.com!jfh (e-i-e-i-o)