changeset 982:b00d5f429a4b v7.0.108

updated for version 7.0-108
author vimboss
date Thu, 14 Sep 2006 19:36:57 +0000
parents eb4ee2010aae
children f3669fbc9a31
files src/os_amiga.c src/proto/os_amiga.pro src/version.c
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }
 
 /*
--- a/src/proto/os_amiga.pro
+++ b/src/proto/os_amiga.pro
@@ -25,7 +25,7 @@ extern long mch_getperm __ARGS((char_u *
 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));
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    108,
+/**/
     107,
 /**/
     106,