[svn-commits] murf: branch group/mime r61637 - /team/group/mime/main/minimime/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Apr 12 13:47:44 MST 2007


Author: murf
Date: Thu Apr 12 15:47:44 2007
New Revision: 61637

URL: http://svn.digium.com/view/asterisk?view=rev&rev=61637
Log:
try this

Modified:
    team/group/mime/main/minimime/lexfix
    team/group/mime/main/minimime/mimeparser.yy.c

Modified: team/group/mime/main/minimime/lexfix
URL: http://svn.digium.com/view/asterisk/team/group/mime/main/minimime/lexfix?view=diff&rev=61637&r1=61636&r2=61637
==============================================================================
--- team/group/mime/main/minimime/lexfix (original)
+++ team/group/mime/main/minimime/lexfix Thu Apr 12 15:47:44 2007
@@ -1,5 +1,5 @@
---- mimeparser.yy.c	2007-04-12 13:10:12.000000000 -0600
-+++ mimeparser.yy.c.fixed	2007-04-12 13:08:49.000000000 -0600
+--- mimeparser.yy.c	2007-04-12 14:16:22.000000000 -0600
++++ mimeparser.yy.c.fixed	2007-04-12 14:16:03.000000000 -0600
 @@ -1769,7 +1769,7 @@
  			yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
  
@@ -65,3 +65,19 @@
  
      /* Destroy the main struct (reentrant only). */
      mimeparser_yyfree ( yyscanner , yyscanner );
+@@ -2630,13 +2632,13 @@
+ {
+ 	if (0)
+ 		yy_fatal_error(msg,yyscanner); /* just to avoid a 'defined, but not used' message */
+-	printf("The parse is pretty much OVER!\n");
++	printf("The parse is pretty much OVER (2) [%s]!\n", msg);
+ }
+ void *yy_fatal_error3( char *msg , void *yyscanner)
+ {
+ 	if (0)
+ 		yy_fatal_error(msg,yyscanner); /* just to avoid a 'defined, but not used' message */
+-	printf("The parse is pretty much OVER!\n");
++	printf("The parse is pretty much OVER (3) [%s] !\n", msg);
+ 	return NULL;
+ }
+ 

Modified: team/group/mime/main/minimime/mimeparser.yy.c
URL: http://svn.digium.com/view/asterisk/team/group/mime/main/minimime/mimeparser.yy.c?view=diff&rev=61637&r1=61636&r2=61637
==============================================================================
--- team/group/mime/main/minimime/mimeparser.yy.c (original)
+++ team/group/mime/main/minimime/mimeparser.yy.c Thu Apr 12 15:47:44 2007
@@ -800,7 +800,9 @@
 			{ \
 			if( errno != EINTR) \
 				{ \
-				YY_FATAL_ERROR( "input in flex scanner failed" ); \
+					char x[1000];				\
+					sprintf(x,"Input in flex scanner failed; Errno=%d\n", errno); \
+				YY_FATAL_ERROR( x ); \
 				break; \
 				} \
 			errno=0; \



More information about the svn-commits mailing list