[net.wanted] NEED SCCS on 4.2 / Is it easy to port?

hakam@qantel.UUCP (Mohammad Hakam@ex2569) (10/25/84)

As you know, 4.2 does not support SCCS. Has anyone had any experience
taking SCCS from V.2 and porting it to 4.2? Is it easy? can you send
me a copy of changes? Any help would be appriceated.
					Hakam
					ucbvax!dual!qantel!hakam

david@varian.UUCP (David Brown) (10/26/84)

I've taken SCCS from System III and put it on 4.1bsd without much problem.
Here are notes for my changes. However, we use RCS more than SCCS here.

Made & installed /usr/lib/libPW.a

changes to libPW:
makefile:
	moved libPW.a to top so don't need to specify
	remove strip libPW.a (not in a.out format)

fatal.c:
	remove extra define of Fjmp (already defined in /usr/include/fatal.h)

need macros.h: took System III version
need fatal.h:   "
fatal.c:  use original version (matches Sys III fatal.h which which uses
	  10 byte longjmp (same as 4bsd)

changes to SCCS:
./makefile:	changed bin directory to /bin.sIII.

src/prs.c:	removed call to tzset().

lib/date_ab.c:	removed call to tzset()
		copied array dmsize[] from libc/gen/ctime.c
		  in place of extern dmsize[], which didn't work
		  because in V7 ctime dmsize is static.


./makefile:	changed bin directory to /usr/local/bin
hdr/:		from System III: fatal.h misc.h macros.h
		(also copied to /usr/include)

src/delta.c:	skiplines() --> skipline()

lib/date_ab.c:  remove correction for timezone and daylight savings

delta.c:
	modified by david chapman (varian!tftd!david) 11/4/83 -
	added execlp() and index() from 4.1 source,
	with changes to avoid problems with index() in this program
	There is a different index() in libPW.a, and execlp() is
	finding that before the standard V7 index() is included
	from libc.a.
	(symptom: fails to find bdiff)

	A better way to fix this may have been to create a .h header
	file (if one doesn't already exist) that must be included by
	all programs that use libPW.a. It would changes the name index()
	to something else:
		#define index() PWindex()
	This .h would be used by the routines in libPW.a as well,
	especially index.c.

sccsdiff: changed comment character from # to :
-- 
	David Brown	 (415) 945-2199
	Varian Instruments 2700 Mitchell Dr.  Walnut Creek, Ca. 94598
	{zehntel,amd,fortune,resonex}!varian!david