[Mplayer-cvslog] CVS: main mplayer.c,1.637,1.638

Arpi of Ize arpi at mplayerhq.hu
Sun Dec 29 15:36:59 CET 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv10517

Modified Files:
	mplayer.c 
Log Message:
PATH_MAX fixed
bugrep by Diego


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.637
retrieving revision 1.638
diff -u -r1.637 -r1.638
--- mplayer.c	28 Dec 2002 22:57:25 -0000	1.637
+++ mplayer.c	29 Dec 2002 14:36:56 -0000	1.638
@@ -524,7 +524,7 @@
 void load_per_file_config (m_config_t* conf, const char *const file)
 {
     char *confpath;
-    char cfg[PATH_MAX];
+    char cfg[strlen(file)+10];
     struct stat st;
     char *name;
 




More information about the MPlayer-cvslog mailing list