Path: utzoo!attcan!uunet!ginosko!uakari.primate.wisc.edu!uwm.edu!uwvax!astroatc!vidiot!brown From: brown@vidiot.UUCP (Vidiot) Newsgroups: comp.sources.d Subject: rcs for SysV Message-ID: <78@vidiot.UUCP> Date: 7 Oct 89 19:36:38 GMT Reply-To: brown@vidiot.UUCP (Vidiot) Distribution: na Organization: Vidiot's Hangout Lines: 48 I received the answer that I needed in order to get RCS working on this SysV PC. I have also found out that there is a version 4 of RCS that works under both BSD and SysV. Unfortunately, I don't know where to fetch it. In any event, here is what was needed to fix the problem: >From texbell.swbt.com!letni!doug Below is an ftime() replacement; ------------------------------------------------------------------------------- #ifdef SCCSID static char *SccsId = "@(#)ftime.c 2.5 4/26/85"; #endif /* SCSCID */ #include /* The following structure can be placed in /usr/include/sys/timeb.h. That way that part of maketime.c doesn't have to be changed. The rest of this is just added to the end of maketime.c */ struct timeb { time_t time; unsigned short millitm; short timezone; short dstflag; }; extern long timezone; extern int daylight; ftime(tp) struct timeb *tp; { long t; time(&t); tp->time = t; tp->millitm = 0; tp->timezone = timezone/60; tp->dstflag = daylight; } -- harvard\ att!nicmad\ Vidiot ucbvax!uwvax..........!astroatc!vidiot!brown rutgers/ decvax!nicmad/ ARPA/INTERNET: @spool.cs.wisc.edu,@astroatc:brown@vidiot