1. Omar Ali Fdal
  2. pypy

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

  • Participants
  • Parent commits 02e59e4
  • Branches default

Comments (0)

Files changed (1)

File pypy/translator/c/src/ll_os.h

View file
  • Ignore whitespace
     }
 }
 
-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);
     }