Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26486/modules/pftijah

Modified Files:
      Tag: Aug2009
        nexi.l nexi.y pftijah_tokenize.l 
Log Message:
Include stdlib.h for malloc (per the standard) and not malloc.h (which does not 
exist everywhere).

U pftijah_tokenize.l
Index: pftijah_tokenize.l
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah_tokenize.l,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -d -r1.21 -r1.21.2.1
--- pftijah_tokenize.l  22 Jul 2009 07:40:21 -0000      1.21
+++ pftijah_tokenize.l  3 Aug 2009 15:46:04 -0000       1.21.2.1
@@ -39,9 +39,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <str.h>
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
+#include <stdlib.h>
 
 static char *c, *e;
 

U nexi.y
Index: nexi.y
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/nexi.y,v
retrieving revision 1.14.2.1
retrieving revision 1.14.2.2
diff -u -d -r1.14.2.1 -r1.14.2.2
--- nexi.y      3 Aug 2009 13:58:33 -0000       1.14.2.1
+++ nexi.y      3 Aug 2009 15:46:04 -0000       1.14.2.2
@@ -34,7 +34,7 @@
 
 #include <stdio.h>
 #include "nexi.h"
-#include <malloc.h>
+#include <stdlib.h>
 
 /* tell bison which malloc/free to use (needed for bison 2.4.1 on Windows) */
 #define YYMALLOC malloc

U nexi.l
Index: nexi.l
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/nexi.l,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- nexi.l      22 Jul 2009 07:40:17 -0000      1.18
+++ nexi.l      3 Aug 2009 15:46:04 -0000       1.18.2.1
@@ -39,9 +39,7 @@
 #include <string.h>
 #include "nexi.h"
 #include "nexi.tab.h"
-#ifdef HAVE_MALLOC_H
-#include <malloc.h>
-#endif
+#include <stdlib.h>
 
 int c;
 extern YYSTYPE nexilval;


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to