diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-05 17:54:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-05 17:54:07 +0000 |
commit | 9964e468c0209f6b8286e0b08109817c845a3079 (patch) | |
tree | 3c53288cff0d4c2e32169d8eb4cd53cc343ad0bc /src/os_vms.c | |
parent | d5ab34bd5ecc748d5502f149c476968e5ec2b7c9 (diff) | |
download | vim-git-9964e468c0209f6b8286e0b08109817c845a3079.tar.gz |
updated for version 7.1a
Diffstat (limited to 'src/os_vms.c')
-rw-r--r-- | src/os_vms.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/os_vms.c b/src/os_vms.c index f87a1cd5d..a612d8104 100644 --- a/src/os_vms.c +++ b/src/os_vms.c @@ -626,12 +626,13 @@ vms_fixfilename(void *instring) Fspec_Rms = buf; /* for decc$to_vms */ - if ( strchr(instring,'/') == NULL ) + if (strchr(instring,'/') == NULL) /* It is already a VMS file spec */ strcpy(buf, instring); - else if ( strchr(instring,'"') == NULL ){ /* password in the path ? */ + 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 ) + if (decc$to_vms(instring, vms_fspec_proc, 0, 0) <= 0) /* No... it must be mixed */ vms_unix_mixed_filespec(instring, buf); } @@ -643,6 +644,7 @@ vms_fixfilename(void *instring) return buf; } + /* * Remove version number from file name * we need it in some special cases as: |