[Mplayer-cvslog] CVS: main cfgparser.c,1.17,1.18

Szabolcs Berecz szabii at users.sourceforge.net
Sat Jun 9 02:00:59 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv3057

Modified Files:
	cfgparser.c 
Log Message:
rude fix of ": No such file or directory"

Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** cfgparser.c	2001/06/03 01:46:28	1.17
--- cfgparser.c	2001/06/09 00:00:57	1.18
***************
*** 268,271 ****
--- 268,272 ----
  
  	if ((fp = fopen(conffile, "r")) == NULL) {
+ 		if (!verbose) printf("Reading config file: %s", conffile);
  		printf(": %s\n", strerror(errno));
  		free(line);
***************
*** 273,277 ****
  		goto out;
  	}
! 	printf("\n");
  
  	while (fgets(line, MAX_LINE_LEN, fp)) {
--- 274,278 ----
  		goto out;
  	}
! 	if (verbose) printf("\n");
  
  	while (fgets(line, MAX_LINE_LEN, fp)) {


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list