[Mplayer-cvslog] CVS: main cfg-mplayer-func.c,1.1,1.2 cfgparser.h,1.3,1.4 cfgparser.c,1.3,1.4
    Szabolcs Berecz 
    szabii at users.sourceforge.net
       
    Mon Mar 19 03:29:39 CET 2001
    
        - Previous message: [Mplayer-cvslog] CVS: main cfg-mplayer-def.h,NONE,1.1 cfg-mplayer.h,1.3,1.4 cfgparser.c,1.2,1.3 cfgparser.h,1.2,1.3 mplayer.c,1.18,1.19
- Next message: [Mplayer-cvslog] CVS: main cfg-mplayer-def.h,1.1,1.2 cfg-mplayer.h,1.4,1.5 cfgparser.c,1.4,1.5 cfgparser.h,1.4,1.5 mplayer.c,1.19,1.20 mplayerHQ.c,1.3,1.4
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
  
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv22250
Modified Files:
	cfg-mplayer-func.c cfgparser.h cfgparser.c 
Log Message:
cfgparser fix
Index: cfg-mplayer-func.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfg-mplayer-func.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** cfg-mplayer-func.c	2001/03/19 01:49:44	1.1
--- cfg-mplayer-func.c	2001/03/19 02:29:37	1.2
***************
*** 6,9 ****
  {
  	printf("%s", help_text);
! 	exit(0);
  }
--- 6,9 ----
  {
  	printf("%s", help_text);
! 	exit(1);
  }
Index: cfgparser.h
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** cfgparser.h	2001/03/19 02:24:43	1.3
--- cfgparser.h	2001/03/19 02:29:37	1.4
***************
*** 12,15 ****
--- 12,16 ----
  #define CONF_TYPE_FUNC		4
  #define CONF_TYPE_FUNC_PARAM	5
+ #define CONF_TYPE_PRINT		6
  
  #define CONF_CHK_MIN		(1<<0)
Index: cfgparser.c
===================================================================
RCS file: /cvsroot/mplayer/main/cfgparser.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** cfgparser.c	2001/03/19 02:24:43	1.3
--- cfgparser.c	2001/03/19 02:29:37	1.4
***************
*** 161,164 ****
--- 161,167 ----
  			need_param = 0;
  			break;
+ 		case CONF_TYPE_PRINT:
+ 			printf("%s", (char *) config[i].p);
+ 			exit(1);
  		default:
  			printf("picsaba\n");
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
    
    
        
	- Previous message: [Mplayer-cvslog] CVS: main cfg-mplayer-def.h,NONE,1.1 cfg-mplayer.h,1.3,1.4 cfgparser.c,1.2,1.3 cfgparser.h,1.2,1.3 mplayer.c,1.18,1.19
- Next message: [Mplayer-cvslog] CVS: main cfg-mplayer-def.h,1.1,1.2 cfg-mplayer.h,1.4,1.5 cfgparser.c,1.4,1.5 cfgparser.h,1.4,1.5 mplayer.c,1.19,1.20 mplayerHQ.c,1.3,1.4
-  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
More information about the MPlayer-cvslog
mailing list