[Mplayer-cvslog] CVS: main/loader ext.c,1.10,1.11

Roberto Togni CVS syncmail at mplayerhq.hu
Sat Sep 11 00:22:04 CEST 2004


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/loader
In directory mail:/var2/tmp/cvs-serv26221

Modified Files:
	ext.c 
Log Message:
100l
sys_errlist[] is deprecated and breaks compilation on some systems, 
replaced it with strerror()
also commented out the printf


Index: ext.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/ext.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ext.c	10 Sep 2004 16:39:31 -0000	1.10
+++ ext.c	10 Sep 2004 22:22:02 -0000	1.11
@@ -534,8 +534,8 @@
     }
     if(answer==(void*)-1)
     {
-	printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n",
-	       (unsigned)address, size, errno, sys_errlist[errno]);
+	/*printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n",
+	       (unsigned)address, size, errno, strerror(errno));*/
 	return NULL;
     }
     else




More information about the MPlayer-cvslog mailing list