Re: rcs corrupting file on ci

Ivan Shmakov <[email protected]>
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
>>>>> David Talkington <[email protected]> writes:

 > Create a file foo.txt with only this line (might be wrapped here):

 > $Date::Manip::NoTaint = eval { local $^W=0; eval("#" . substr($^X, 0, 0)); 1 };

 > then:
 > $ ci foo.txt

	Please do $ rcs -ko foo.txt after `ci' and check whether `co'
	still causes the problem.

	I believe that other workarounds are possible as well.

 > $ co foo.txt

	Be sure to check the ``keyword substitution'' section in co(1).

 > $ cat foo.txt
 > $Date: 2007/12/13 23:34:21 $^W=0; eval("#" . substr($^X, 0, 0)); 1 };

[...]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.