[comp.binaries.ibm.pc.d] Problem with GNUish RCS program

jackm@agcsun.UUCP (Jack Morrison) (10/30/90)

In article <1990Oct26.115454.2104@mlb.semi.harris.com> routh@eltanin.rtp.semi.harris.com (Kevin Routh x622) writes:

>In MS-DOS, however, the "co -l" can't
>check-out a copy on top of the read-only copy.  

>I looked at the source code for co.c and found that the attributes of the
>file (ie. read-only) are not changed before trying to delete it.  This may
>be the problem.  I tried to compile it with MSC 5.0 and TC 2.0 with NO
>success.  There are portions of the code which make both compilers puke.  I
>am seeking help on two specific things:

>1)	Has anyone had this "co -l" problem and know how do you fix it?

Yes. Just add code to make the file writeable before removing it. (Unix
unlink doesn't care as long as the directory is writeable).

>2)	Why can't I get the programs to compile.  I'm not an expert but I'm
>	not a dummy either.  I've had good success with other P.D. program 
>	sources, but this one is a tough one.

I had a lot of trouble until I realized the files were UNIX format 
(lf-terminated). After running them through a filter to add CR's, things
compiled much better.

-- 
"How am I typing?  Call 1-303-279-1300"     Jack C. Morrison
Ampex Video Systems    581 Conference Place, Golden CO 80401