summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-08-25 21:58:00 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-08-25 21:58:00 (GMT)
commit6be3480083d0426bb9143d393583382c852d30d6 (patch)
tree8df9b10a4a2d3d9ab0e3cb6056d56c30197c79be /Mac/Python
parent14a9171cffd8a2a675e07b90b519c67da35326d6 (diff)
downloadcpython-6be3480083d0426bb9143d393583382c852d30d6.zip
cpython-6be3480083d0426bb9143d393583382c852d30d6.tar.gz
cpython-6be3480083d0426bb9143d393583382c852d30d6.tar.bz2
Removed debug output.
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macmain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 903f292..b49d4ac 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -260,7 +260,6 @@ init_common(int *argcp, char ***argvp, int embedded)
/* Create argc/argv. Do it before we go into the options event loop. */
*argcp = PyMac_GetArgv(argvp, options.noargs);
#ifdef USE_ARGV0_CHDIR
- printf("argc=%d, argv[0]=%x=%s\n", *argcp, (*argvp)[0], (*argvp)[0]);
if (*argcp >= 1 && (*argvp)[0] && (*argvp)[0][0]) {
/* Workaround for MacOS X, which currently (DP4) doesn't set
** the working folder correctly
@@ -268,10 +267,8 @@ init_common(int *argcp, char ***argvp, int embedded)
char app_wd[256], *p;
strncpy(app_wd, (*argvp)[0], 256);
- printf("Modifying dir, argv[0]=%s\n", (*argvp)[0]);
p = strrchr(app_wd, ':');
if ( p ) *p = 0;
- printf("app_wd=%s\n", app_wd);
chdir(app_wd);
}
#endif