r427 - trunk

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 16 06:50:02 EST 2008


Author: icculus
Date: 2008-01-16 06:50:02 -0500 (Wed, 16 Jan 2008)
New Revision: 427

Modified:
   trunk/lua_glue.c
Log:
Minor FIXME cleanup.


Modified: trunk/lua_glue.c
===================================================================
--- trunk/lua_glue.c	2008-01-16 11:48:05 UTC (rev 426)
+++ trunk/lua_glue.c	2008-01-16 11:50:02 UTC (rev 427)
@@ -803,9 +803,8 @@
     MojoInput *in = MojoInput_fromURL(url);
     if (in != NULL)
     {
-        // !!! FIXME: Unix-specific permissions thing here.
-        rc = MojoInput_toPhysicalFile(in, dst, 0644, &sums, -1,
-                                          writeCallback, L);
+        rc = MojoInput_toPhysicalFile(in, dst, MojoPlatform_defaultFilePerms(),
+                                      &sums, -1, writeCallback, L);
     } // if
 
     retval += retvalBoolean(L, rc);




More information about the mojosetup-commits mailing list