X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/19e10ab8724e2966067019bf63031bc8cbeb027d..1f50f809c4d885ff2b2c1a626d69ebb4cea0502f:/src/xbt/graphxml.c diff --git a/src/xbt/graphxml.c b/src/xbt/graphxml.c index c3353c3761..905fc9edb6 100644 --- a/src/xbt/graphxml.c +++ b/src/xbt/graphxml.c @@ -1257,13 +1257,24 @@ static int ck_ilimit() #ifdef FLEXML_NEED_BUFFERLIT static void graphxml_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