[Python-checkins] python/dist/src/Mac/Python macmain.c,1.72.8.1,1.72.8.2

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Tue, 29 Oct 2002 14:03:48 -0800


Update of /cvsroot/python/python/dist/src/Mac/Python
In directory usw-pr-cvs1:/tmp/cvs-serv6386/Python 2.2/Mac/Python

Modified Files:
      Tag: release22-maint
	macmain.c 
Log Message:
Added a few printfs in case of unexpected situations during application startup.

Index: macmain.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Python/macmain.c,v
retrieving revision 1.72.8.1
retrieving revision 1.72.8.2
diff -C2 -d -r1.72.8.1 -r1.72.8.2
*** macmain.c	24 Feb 2002 23:07:04 -0000	1.72.8.1
--- macmain.c	29 Oct 2002 22:03:45 -0000	1.72.8.2
***************
*** 337,340 ****
--- 337,342 ----
  			if ( p ) *p = 0;
  			chdir(app_wd);
+ 		} else {
+ 			fprintf(stderr, "Warning: No argv[0], cannot chdir to pythonhome\n");
  		}
  #endif