[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RCS bug: ci deleting portions of files
From: |
Gary Grosso |
Subject: |
Re: RCS bug: ci deleting portions of files |
Date: |
Thu, 01 Jul 2004 00:28:24 -0400 |
Thanks, Paul. I believe I got my executables from the "Official
RCS Homepage" at http://www.cs.purdue.edu/homes/trinkle/RCS/, where
they refer questions/problems to address@hidden, though there is
also a link for address@hidden (sending there now as well).
I do believe it's a Windows-only problem. I've never seen this in
years of using RCS on UNIX. I see the problem with or without
setting RCS_LF_ONLY, though that prevents Windows RCS from adding
unwanted character 13's into my files.
Gary
At 09:05 PM 6/30/2004 -0700, Paul Eggert wrote:
>Gary Grosso <address@hidden> writes:
>
> > Hello RCS-people,
> >
> > I have RCS_LF_ONLY set to 1.
>
>Sorry, that sounds like a Microsoft Windows thing; it's not part of
>the original RCS 5.7 source code. I'm afraid you'll have to ask
>whoever did your port to Microsoft Windows.
Original message:
>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