summaryrefslogtreecommitdiff
path: root/src/os_unix.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-04 10:47:26 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-04 10:47:26 +0100
commit82c38fe508155c11a904e6111b5bfb6adde3fb9a (patch)
tree818661460a865d7096bc13737d56199d4b009125 /src/os_unix.h
parentbb0956fc65ebe8df1da823f9c4d6a0013d9ba5c1 (diff)
downloadvim-git-82c38fe508155c11a904e6111b5bfb6adde3fb9a.tar.gz
patch 8.2.2294: VMS: a few remaining problemsv8.2.2294
Problem: VMS: a few remaining problems. Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
Diffstat (limited to 'src/os_unix.h')
-rw-r--r--src/os_unix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os_unix.h b/src/os_unix.h
index 46f4bba01..83fe66d37 100644
--- a/src/os_unix.h
+++ b/src/os_unix.h
@@ -73,8 +73,9 @@
// always use unlink() to remove files
#ifndef PROTO
# ifdef VMS
-# define mch_remove(x) delete((char *)(x))
-# define vim_mkdir(x, y) mkdir((char *)(x), y)
+# define vim_mkdir(x, y) mkdir((char *)vms_fixfilename(x), y)
+# define mch_rmdir(x) delete((char *)vms_fixfilename(x))
+# define mch_remove(x) delete((char *)vms_fixfilename(x))
# else
# define vim_mkdir(x, y) mkdir((char *)(x), y)
# define mch_rmdir(x) rmdir((char *)(x))