Commits

Christian Tismer committed b398ff5

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 :-(

Comments (0)

Files changed (1)

pypy/translator/c/src/ll_os.h

     }
 }
 
-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);
     }