From: Martin Q. <mqu...@us...> - 2012-12-20 00:22:58
|
Update of /cvsroot/flexml/flexml In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv755 Modified Files: ChangeLog Makefile Makefile.defs skel Log Message: actually, I already released 1.9.3 in debian -- ops. merge changes from debian, and release 1.9.4 this time Index: skel =================================================================== RCS file: /cvsroot/flexml/flexml/skel,v retrieving revision 1.40 retrieving revision 1.41 diff -u -d -r1.40 -r1.41 --- skel 11 Oct 2007 09:57:24 -0000 1.40 +++ skel 20 Dec 2012 00:22:55 -0000 1.41 @@ -134,13 +134,24 @@ #ifdef FLEXML_NEED_BUFFERLIT static void bufferliteral(char c, int* pp, const char* text) { - const char *s = (c ? strchr(text,c) : text-1), *e = strrchr(text,c); - assert(s <= e); BUFFERSET(*pp); - while (++s<e) { - if (isspace(*s) && c) { BUFFERPUTC(' '); while (isspace(*s)) ++s; } - else BUFFERPUTC(*s); - } - BUFFERDONE; + BUFFERSET(*pp); + if (c) { + const char *s = strchr(text, c), *e = strrchr(text, c); + assert(s && e && s <= e); + ++s; + while (s < e) { + if (isspace(*s)) { + BUFFERPUTC(' '); + do ++s; while (s < e && isspace(*s)); + } else + BUFFERPUTC(*s++); + } + } else { + const char *s = text; + while (*s) + BUFFERPUTC(*s++); + } + BUFFERDONE; } #endif Index: Makefile.defs =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile.defs,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- Makefile.defs 20 Dec 2012 00:13:40 -0000 1.23 +++ Makefile.defs 20 Dec 2012 00:22:55 -0000 1.24 @@ -6,7 +6,7 @@ #SUFF ?=-$(VER) SUFF ?= -VER = 1.9.3 +VER = 1.9.4 # SETUP. Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/Makefile,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- Makefile 30 Oct 2011 19:26:34 -0000 1.45 +++ Makefile 20 Dec 2012 00:22:55 -0000 1.46 @@ -29,7 +29,7 @@ include Makefile.defs -STUFF = GPL Makefile Makefile.defs flexml.pl FleXML.html +STUFF = GPL Makefile Makefile.defs flexml.pl BINS = $(FLEXML) LIBS = $(FLEXML_ACT) DATA = skel Index: ChangeLog =================================================================== RCS file: /cvsroot/flexml/flexml/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ChangeLog 20 Dec 2012 00:13:40 -0000 1.5 +++ ChangeLog 20 Dec 2012 00:22:55 -0000 1.6 @@ -1,9 +1,15 @@ 2012-12-20 Martin Quinson <Mar...@lo...> - * Integrate another patch from Arnaud Giersch, this time to - ensure that underscores in XML names don't mess the C version. + * New patch from Arnaud Giersch, this time to ensure that + underscores in XML names don't mess the C identifiers. + * Release v1.9.4 with this fix. + +2012-07-05 Martin Quinson <Mar...@lo...> + + * Integrate another patch from Arnaud Giersch that avoids + undefined behaviors breaking clang's optimizations * Release v1.9.3 with this fix. - + 2011-11-04 Martin Quinson <Mar...@lo...> * Integrate a patch from Arnaud Giersch to ensure that the |