summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-14 01:27:24 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-14 01:27:24 (GMT)
commitbecdbec8067c0e4cd9c0d9aad682c547d8a2bba3 (patch)
treecd225f6b3373d564641d4f84136181ad3f2597d5 /Mac/Python
parente2aaa9dd61632e48da08372dfb7f3365ed6d663b (diff)
downloadcpython-becdbec8067c0e4cd9c0d9aad682c547d8a2bba3.zip
cpython-becdbec8067c0e4cd9c0d9aad682c547d8a2bba3.tar.gz
cpython-becdbec8067c0e4cd9c0d9aad682c547d8a2bba3.tar.bz2
ported to Think C
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macglue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index f9c3154..c979e2a 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -23,6 +23,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
******************************************************************/
#include "Python.h"
+
#include "macglue.h"
#include <OSUtils.h> /* for Set(Current)A5 */
@@ -401,7 +402,7 @@ PyMac_GetPythonDir()
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;