Greetings all!

We are a COBOL software development company (now moving to Java) and we moved 
to using a Red Hat Enterprise Linux server as our main machine at the beginning 
of this 
year. We did some trials before moving to Linux, to see if there were likely to 
be any major 
problems with using CSSC. We didn't find any.

We copied our 20 years of SCCS files to our new RHEL 4.4 server and started 
using 
CSSC in earnest. There were some minor differences between UNIX SCCS and CSSC, 
but we use a wrapper script (called sccs) so didn't have any problems with 
dealing with 
these.

Our move to CSSC has been remarkably trouble-free. It is slightly more fussy 
about file 
layout, but we've only had to "fix" about a dozen files out of nearly 13,000. 
We have been 
using CSSC exclusively for nearly a year now.

File Problems

1. Our file problems stem from allowing our programmers to manually edit the 
SCCS/s.<filename> file and then do "admin -z" on it (to recalculate the 
checksum).

In two of our files we had an extra space before a date field on the "d" line, 
for example:

^As 00034/00000/03110
^Ad D 35.2  03/08/07 13:36:08 keith 70 69
^Am 8447
^Ac Add Location Co-ordinate Fields
^Ae

This gave us a message like:

prs: /s/uniworks/SCCS/s.uwclblr.prt: line 465: Corrupted SCCS file. 
(Invalid number)

It was easily fixed - edit the file to remove the space and do an "cssc admin 
-z" on the 
file. (I had renamed /usr/bin/sccs to /usr/bin/cssc to avoid conflicts with our 
sccs script.)

2. We also found problems in about 8 of our files where our programmers had 
manually 
removed some simple intermediate revisions from the SCCS file, and had then run 
"admin -z" to fix the checksum. SCCS handles this but CSSC doesn't. We fixed 
this by 
manually editing the file and creating phony auto null deltas.


Minor Differences

*   prs -d":T" - no space between the "-d" and the parameters

*   CSSC's rmdel allows a person to delete a revision made by another programmer

*   CSSC's sccsdiff is better than SCCS at showing differences revisions 
(doesn't show 
    bogus differences like SCCS does).

*   CSSC's get command allows for editing (at the same time) of both the main 
and a 
    branch. (We prevent this with our sccs wrapper script, so it doesn't affect 
us.)


PRS Bug

One difference between GNU CSSC and AT&T SCCS is in what is displayed for the 
command "sccs prs -l <s.file>". SCCS gives only the latest revision whereas 
CSSC also 
includes all the auto null delta revisions (if present) as well.

James, should I register this as a bug on SourceForge as well?

Regards,

Geoff Hull
Internal Support
McCarthy Associates
Hastings, New Zealand

_______________________________________________
cssc-users mailing list
cssc-users@gnu.org
http://lists.gnu.org/mailman/listinfo/cssc-users

Reply via email to