bug-rcs
[Top][All Lists]
Advanced

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

"edit script refers to line past end of file" false report?


From: Miro Kropáček
Subject: "edit script refers to line past end of file" false report?
Date: Sat, 11 Nov 2023 02:12:56 +0100

Hi,

I'm going through some ancient source archives and I have noticed that some files report the above mentioned message. 

To be precise, I got there when another tool (cvs-fast-export) started to report failures and found explanation from Eric: https://gitlab.com/esr/cvs-fast-export/-/issues/1#note_25788748 about its true cause.

First I was prepared to accept my fate (out of desperation I even dug out an emulator with 16-bit RCS 5.6, only to confirm that the same error is present there) but then I looked closely at the file (attached) -- there's no way there is any integer overflow happening. 

This concrete file for example:

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?

Any hint appreciated.

Regards,
Miro

Attachment: rdb.rc,v
Description: Text document


reply via email to

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