Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macglue.c @ 2337:71e60871c681 legacy-trunk
ported to Think C
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 14 Feb 1995 01:27:24 +0000 |
| parents | 6468fd0251d2 |
| children | a2054933775b |
line wrap: on
line diff
--- a/Mac/Python/macglue.c Tue Feb 14 00:58:59 1995 +0000 +++ b/Mac/Python/macglue.c Tue Feb 14 01:27:24 1995 +0000 @@ -23,6 +23,7 @@ ******************************************************************/ #include "Python.h" + #include "macglue.h" #include <OSUtils.h> /* for Set(Current)A5 */ @@ -401,7 +402,7 @@ prefrh = FSpOpenResFile(&dirspec, fsRdWrShPerm); if ( prefrh == -1 ) { /* It doesn't exist. Try to create it */ - FSpCreateResFile(&dirspec, 'PYTH', 'pref', NULL); + FSpCreateResFile(&dirspec, 'PYTH', 'pref', 0); prefrh = FSpOpenResFile(&dirspec, fsRdWrShPerm); if ( prefrh == -1 ) { cannotmodify = 1;
