0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.2294: VMS: a few remaining problems

Problem:    VMS: a few remaining problems.
Solution:   Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
This commit is contained in:
Bram Moolenaar
2021-01-04 10:47:26 +01:00
parent bb0956fc65
commit 82c38fe508
9 changed files with 110 additions and 54 deletions

View File

@@ -672,9 +672,18 @@ vms_fixfilename(void *instring)
else if (strchr(instring,'"') == NULL) // password in the path?
{
// Seems it is a regular file, let guess that it is pure Unix fspec
if (decc$to_vms(instring, vms_fspec_proc, 0, 0) <= 0)
// No... it must be mixed
if ( (strchr(instring,'[') == NULL) && (strchr(instring,'<') == NULL) &&
(strchr(instring,']') == NULL) && (strchr(instring,'>') == NULL) &&
(strchr(instring,':') == NULL) )
{
// It must be a truly unix fspec
decc$to_vms(instring, vms_fspec_proc, 0, 0);
}
else
{
// It is a mixed fspec
vms_unix_mixed_filespec(instring, buf);
}
}
else
// we have a password in the path