[Python-checkins] CVS: python/dist/src/Python pythonrun.c,2.133.4.1,2.133.4.2
Guido van Rossum
gvanrossum@users.sourceforge.net
Fri, 29 Jun 2001 07:03:29 -0700
Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv1103
Modified Files:
Tag: descr-branch
pythonrun.c
Log Message:
_Py_AskYesNo(): print the prompt to stderr, so it doesn't somehow
disappear when running "make test".
Index: pythonrun.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/pythonrun.c,v
retrieving revision 2.133.4.1
retrieving revision 2.133.4.2
diff -C2 -r2.133.4.1 -r2.133.4.2
*** pythonrun.c 2001/06/28 16:15:38 2.133.4.1
--- pythonrun.c 2001/06/29 14:03:27 2.133.4.2
***************
*** 1315,1319 ****
char buf[256];
! printf("%s [ny] ", prompt);
if (fgets(buf, sizeof buf, stdin) == NULL)
return 0;
--- 1315,1319 ----
char buf[256];
! fprintf(stderr, "%s [ny] ", prompt);
if (fgets(buf, sizeof buf, stdin) == NULL)
return 0;