[Python-checkins] python/dist/src/Python dynload_shlib.c,2.16,2.17

loewis at users.sourceforge.net loewis at users.sourceforge.net
Sun Oct 3 10:51:38 CEST 2004


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24858

Modified Files:
	dynload_shlib.c 
Log Message:
Print verbose messages to stderr. Fixes #1036752.


Index: dynload_shlib.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_shlib.c,v
retrieving revision 2.16
retrieving revision 2.17
diff -u -d -r2.16 -r2.17
--- dynload_shlib.c	25 Mar 2004 02:16:23 -0000	2.16
+++ dynload_shlib.c	3 Oct 2004 08:51:35 -0000	2.17
@@ -113,7 +113,8 @@
 #endif
 
 	if (Py_VerboseFlag)
-		printf("dlopen(\"%s\", %x);\n", pathname, dlopenflags);
+		PySys_WriteStderr("dlopen(\"%s\", %x);\n", pathname, 
+				  dlopenflags);
 
 #ifdef __VMS
 	/* VMS currently don't allow a pathname, use a logical name instead */



More information about the Python-checkins mailing list