Changeset 805
- Timestamp:
- 01/14/10 12:22:44 (8 months ago)
- Files:
-
- 1 modified
-
trunk/lugre/src/lugre_scripting.general.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lugre/src/lugre_scripting.general.cpp
r804 r805 261 261 262 262 263 // lua : int mkdir (path,mode) -- mode is ignored for win, 0x7 77 is write263 // lua : int mkdir (path,mode) -- mode is ignored for win, 0x700 as default for linux (restrictive, only owner) 264 264 static int l_mkdir (lua_State *L) { PROFILE 265 265 std::string sPath = luaL_checkstring(L,1); 266 int iMode = luaL_checkint(L,2);266 int iMode = cLuaBindDirectQuickWrapHelper::ParamIntDefault(L,2,0x700); 267 267 lua_pushnumber(L,rob_mkdir(sPath.c_str(),iMode)); 268 268 return 1;
