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:
13
src/os_vms.c
13
src/os_vms.c
@@ -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
|
||||
|
Reference in New Issue
Block a user