Hi all, Unfortunately, an old bug slipped through in the binary I announced yesterday. It will crash gpc-cpp when including a file. This happens when the -remap cpp option is enabled, which very few platforms do. For the interested, the fix (already submitted) was: Tue Feb 23 21:55:09 1999 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl> * gpc-cccp.c (do_include): Initialize searchptr->fname --- gpc-cccp.c.orig Thu Jan 7 02:34:50 1999 +++ gpc-cccp.c Tue Feb 23 21:50:43 1999 @@ -5083,6 +5083,8 @@ fname[0] = 0; } strncat (fname, (char *) fbeg, flen); + searchptr->fname = (char *) xmalloc (flen + 1); + strncpy (searchptr->fname, fname, flen); #ifdef VMS /* Change this 1/2 Unix 1/2 VMS file specification into a full VMS file specification */ (to peter: of course this is the modifed fix). Anyway, I updated the binary. For those who have the old binary: you can also fix this by removing "-remap" from cpp options in "specs". Thanks to the Chief for informing me about this glitch. JanJaap --- GNU mingw32: http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32
participants (1)
-
Jan-Jaap van der Heijden