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; } /* diff --git a/src/proto/os_amiga.pro b/src/proto/os_amiga.pro index 479297d93..4ac96aac8 100644 --- a/src/proto/os_amiga.pro +++ b/src/proto/os_amiga.pro @@ -25,7 +25,7 @@ extern long mch_getperm __ARGS((char_u *name)); extern int mch_setperm __ARGS((char_u *name, long perm)); extern void mch_hide __ARGS((char_u *name)); extern int mch_isdir __ARGS((char_u *name)); -extern void mch_mkdir __ARGS((char_u *name)); +extern int mch_mkdir __ARGS((char_u *name)); extern int mch_can_exe __ARGS((char_u *name)); extern int mch_nodetype __ARGS((char_u *name)); extern void mch_early_init __ARGS((void)); diff --git a/src/version.c b/src/version.c index c828f6f58..67a065046 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 108, /**/ 107, /**/