[pypy-svn] r16610 - pypy/dist/pypy/translator/c/src

tismer at codespeak.net tismer at codespeak.net
Fri Aug 26 13:50:16 CEST 2005


Author: tismer
Date: Fri Aug 26 13:50:15 2005
New Revision: 16610

Modified:
   pypy/dist/pypy/translator/c/src/ll_os.h
Log:
forgot the mode parameter for mkdir in the low level implementation.
Funny, becasue I knew ti and dit it correctty, everywhere else.
The bad thing is that windows didn't complain about the missing arg :-(

Modified: pypy/dist/pypy/translator/c/src/ll_os.h
==============================================================================
--- pypy/dist/pypy/translator/c/src/ll_os.h	(original)
+++ pypy/dist/pypy/translator/c/src/ll_os.h	Fri Aug 26 13:50:15 2005
@@ -198,8 +198,8 @@
     }
 }
 
-void LL_os_mkdir(RPyString * path) {
-    int error = mkdir(RPyString_AsString(path));
+void LL_os_mkdir(RPyString * path, int mode) {
+    int error = mkdir(RPyString_AsString(path), mode);
     if (error != 0) {
 	RPYTHON_RAISE_OSERROR(errno);
     }



More information about the Pypy-commit mailing list