Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6be3480

Browse files
committed
Removed debug output.
1 parent 14a9171 commit 6be3480

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Mac/Python/macmain.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,18 +260,15 @@ init_common(int *argcp, char ***argvp, int embedded)
260260
/* Create argc/argv. Do it before we go into the options event loop. */
261261
*argcp = PyMac_GetArgv(argvp, options.noargs);
262262
#ifdef USE_ARGV0_CHDIR
263-
printf("argc=%d, argv[0]=%x=%s\n", *argcp, (*argvp)[0], (*argvp)[0]);
264263
if (*argcp >= 1 && (*argvp)[0] && (*argvp)[0][0]) {
265264
/* Workaround for MacOS X, which currently (DP4) doesn't set
266265
** the working folder correctly
267266
*/
268267
char app_wd[256], *p;
269268

270269
strncpy(app_wd, (*argvp)[0], 256);
271-
printf("Modifying dir, argv[0]=%s\n", (*argvp)[0]);
272270
p = strrchr(app_wd, ':');
273271
if ( p ) *p = 0;
274-
printf("app_wd=%s\n", app_wd);
275272
chdir(app_wd);
276273
}
277274
#endif

0 commit comments

Comments
 (0)