Summary | swap file cannot be created for files with long names |
Queue | Vim on VMS |
Type | Bug |
State | Accepted |
Priority | 1. Low |
Owners | |
Requester | sferencik (at) alpha (dot) polarhome (dot) com |
Created | 12/07/2010 (4892 days ago) |
Due | |
Updated | 02/19/2014 (3722 days ago) |
Assigned | |
Resolved | |
Attachments |
Queue ⇒ Vim on VMS
Summary ⇒ swap file cannot be created for files with long names
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
vim creates swap files by appending _sw% to the end of the extension.
Naturally, if the extension of the file is already 36+ characters, the
swap file cannot be created:
$ vim a.123456789012345678901234567890123456
E303: Unable to open swap file for
"a.123456789012345678901234567890123456", recovery impossible
Would it be possible for the swap file name to use just the first 35
chars of the extension, before appending _sw%? Of course there would
be ambiguity for similarly-named files:
a.12345678901234567890123456789012345a
a.12345678901234567890123456789012345b
Would this matter? Or is some kind of swap-file ambiguity already
accepted (e.g. for multi-translation logical names)?
On ODS-3 needs to be fixed.