]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Change include path for unixemu headers; rename access to access_
authorGuido van Rossum <guido@python.org>
Mon, 27 Jun 1994 15:24:53 +0000 (15:24 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 27 Jun 1994 15:24:53 +0000 (15:24 +0000)
Mac/Modules/macmodule.c

index cc6cf426bd42dd5d220379d02d6c56fb39cdd8e7..f684dd2d300a1af6a02873e85a0944473f010818 100644 (file)
@@ -36,9 +36,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 #include <fcntl.h>
 
-#include "::unixemu:macdefs.h"
-#include "::unixemu:dir.h"
-#include "::unixemu:stat.h"
+#include ":::unixemu:macdefs.h"
+#include ":::unixemu:dir.h"
+#include ":::unixemu:stat.h"
 
 #ifndef MAXPATHLEN
 #define MAXPATHLEN 1024
@@ -426,7 +426,7 @@ mac_write(self, args)
 }
 
 static struct methodlist mac_methods[] = {
-       {"access",      mac_access},
+       {"access_",     mac_access}, /* "access" is a Python reserved word */
        {"chdir",       mac_chdir},
        {"close",       mac_close},
 #ifdef MPW