Hi guys!
I had a problem that when ~/.wapi didn't exist, it didn't get created,
and the problem is solved with this patch.

Can you apply? Thank you!
-- 
Pablo Baena <[EMAIL PROTECTED]>
? autom4te.cache
? data/Makefile
? data/Makefile.in
? data/config
? mono/arch/alpha/Makefile
? mono/arch/alpha/Makefile.in
? mono/arch/s390/Makefile
? mono/arch/s390/Makefile.in
? mono/metadata/monosn
? mono/mini/cpu-g4.h
? mono/mini/mono
? scripts/cilc
? scripts/ilasm
? scripts/monoresgen
? scripts/secutil
? scripts/sqlsharp
Index: mono/io-layer/shared.c
===================================================================
RCS file: /mono/mono/mono/io-layer/shared.c,v
retrieving revision 1.11
diff -u -r1.11 shared.c
--- mono/io-layer/shared.c      5 Jun 2003 21:02:19 -0000       1.11
+++ mono/io-layer/shared.c      11 Jun 2003 04:06:27 -0000
@@ -102,12 +102,11 @@
         * mkdir() errors, because on any error the open() call will
         * report the problem.
         */
+       g_snprintf (file, _POSIX_PATH_MAX, "%s", filename);
        dir=g_path_get_dirname (file);
        mkdir (dir, 0755);
        g_free (dir);
                
-       g_snprintf (file, _POSIX_PATH_MAX, "%s", filename);
-       
        return(file);
 }
 

Reply via email to