[Mplayer-cvslog] CVS: main cfgparser.c,1.5,1.6
Szabolcs Berecz
szabii at users.sourceforge.net
Mon Mar 19 14:12:50 CET 2001
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv10498
Modified Files:
cfgparser.c
Log Message:
parameter reading fixed in parse_config_file
Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** cfgparser.c 2001/03/19 03:45:49 1.5
--- cfgparser.c 2001/03/19 13:12:48 1.6
***************
*** 258,262 ****
/* read the parameter */
! for (param_pos = 0; isalnum(line[line_pos]); /* NOTHING */) {
param[param_pos++] = line[line_pos++];
if (param_pos >= MAX_PARAM_LEN) {
--- 258,263 ----
/* read the parameter */
! for (param_pos = 0; isprint(line[line_pos]) && !isspace(line[line_pos]);
! /* NOTHING */) {
param[param_pos++] = line[line_pos++];
if (param_pos >= MAX_PARAM_LEN) {
_______________________________________________
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