bugGNU RCS - Bugs: bug #64881, "edit script refers to line...

 
 

bug #64881: "edit script refers to line past end of file" falsely reported

Submitter:  None
Submitted:  Sat 11 Nov 2023 01:20:04 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 12 Nov 2023 02:05:02 PM UTC, comment #1: 

Now I see why is failing: rev1.5 basically deletes the whole file so no wonder that "d1 3" is failing as there is nothing to delete.

Judging from the dates (1.6 - 92/08/11, 1.5 - 92/07/27, 1.4 - 91/06/20) I'd say this can't be even intentional (i.e. that one would use an empty file for several weeks).

Interestingly, I have many files in state like this, I wonder how that could have happened.

Anonymous
Sat 11 Nov 2023 01:20:04 AM UTC, original submission:  

There seems to be something wrong with this error report. Internet sources imply that this could have been caused by ancient broken RCS tools with integer overflow but this doesn't seem to be the case here.

co -p1.6 rdb.c works

co -p1.5 rdb.c works

co -p1.4 rdb.c reports:
co: ./rdb.rc,v:91: edit script refers to line past end of file

What is really weird because the line is just simple "@d1 3" which should be something like "delete 3 lines starting at line 1", right? So where does that error come from?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55317:  rdb.rc,v added by None (2KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2023-11-11 None Attached File- Added rdb.rc,v, #55317

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code