summaryrefslogtreecommitdiff
path: root/src/os_amiga.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-09-14 19:36:57 +0000
committerBram Moolenaar <Bram@vim.org>2006-09-14 19:36:57 +0000
commite38536441c2a32e2e490fc882e3009792953155f (patch)
tree3e3880fa5305dd7d18515aee0acf45e79969b662 /src/os_amiga.c
parentbc1a7c32e3926861ce926bcebc577a1cda1a43e1 (diff)
downloadvim-git-e38536441c2a32e2e490fc882e3009792953155f.tar.gz
updated for version 7.0-108v7.0.108
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r--src/os_amiga.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c
index 37c5c9401..3728bebf1 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -799,7 +799,7 @@ mch_isdir(name)
/*
* Create directory "name".
*/
- void
+ int
mch_mkdir(name)
char_u *name;
{
@@ -807,7 +807,11 @@ mch_mkdir(name)
lock = CreateDir(name);
if (lock != NULL)
+ {
UnLock(lock);
+ return 0;
+ }
+ return -1;
}
/*