bug-rcs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RCS bug: ci deleting portions of files


From: Gary Grosso
Subject: RCS bug: ci deleting portions of files
Date: Wed, 30 Jun 2004 23:58:11 -0400

Hello RCS-people,

I have RCS_LF_ONLY set to 1.  I'm working on a PC running Win XP, using
rcs57pc{1,2,3}.zip, installed to C:\RCS.

When I ci files, portions of them are lost.

Download http://www.aapro.net/programs/showresources.zip and unzip it.

Working in a "MS-DOS Prompt" window:

mkdir RCS
ci showresources.pl
co -l showresources.pl
edit the file with xemacs or otherwise insert a line at the top
which ends with a line feed only (\n, not \r\n as viewed by od -c).
ci -l showresources.pl
rcsdiff showresources.pl

Note that a piece of the file is missing.  I have had this happen
with most if not all of my files, though I didn't get it to happen
with a small simple text file.  It doesn't happen if I use Wordpad
which uses CR-LF's.

I have also used ci without "-l".  I have verified that if I check 
the file back out, the file is really damaged, it isn't just rcsdiff
saying so.

I have verified with
  od -c showresources.pl | grep "\\r"
that there aren't any \r's in the file (that is, it's not "mixed";
it's a pure newline-only file).

If there is something else I need to set besides RCS_LF_ONLY, that
would be wonderful, else this looks like a bug.

Thanks,
Gary


---
Gary Grosso
Ann Arbor Professional Services
www.aapro.net






reply via email to

[Prev in Thread] Current Thread [Next in Thread]