More strict checks for the undo file.

This commit is contained in:
Bram Moolenaar
2010-05-26 21:21:00 +02:00
parent 83ad0147c0
commit 6a18eb6f62
4 changed files with 74 additions and 34 deletions

View File

@ -267,8 +267,8 @@ Reading an existing undo file may fail for several reasons:
The file text differs from when the undo file was written. This means
the undo file cannot be used, it would corrupt the text. This also
happens when 'encoding' differs from when the undo file was written.
*E825* *E826* The undo file does not contain valid contents and cannot be
used.
*E825* *E826* *E831*
The undo file does not contain valid contents and cannot be used.
*E827* The magic number at the end of the file was not found. This usually
means the file was truncated.