This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ,brik -> .brik in 971225


> Date: Sat, 27 Dec 1997 11:01:22 -0600
> From: Robert Lipe <robertl@dgii.com>
> To: Mumit Khan <khan@xraylith.wisc.edu>
> Cc: egcs@cygnus.com

> It was to pave the way for people using code right from the CVS
> repository becuase CVS/RCS doesn't handle files named with commas
> very well.

The below patch has been submitted to the rcs folks...  I used it to
import the , files.  It should be ok, I tested it, and it works well
for me.  Doing this enables you to use , in the filenames, but older
rcses will not be able to deal with the new file (no surprise).

Never heard back from the ecs folks, so I don't know if it will make
it into the next rcs release.  Let me know if you know of any good
reason why one should not do this.

Doing diffs in .:
*** ./src/rcsedit.c.~1~	Thu Jun 15 23:19:24 1995
--- ./src/rcsedit.c	Thu Sep 11 21:03:24 1997
*************** rcswriteopen(RCSbuf, status, mustread)
*** 1338,1348 ****
  		return 0;
  	    }
  #	endif
- 	if (*sp == *x) {
- 		error("RCS pathname `%s' incompatible with suffix `%s'", sp, x);
- 		errno = EINVAL;
- 		return 0;
- 	}
  	/* Create a lock filename that is a function of the RCS filename.  */
  	if (*x) {
  		/*
--- 1338,1343 ----
--------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]