X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4d93bb81100ceaef4b3c57b5d5e38e62baaa7507..ccf9494d0809595268bedd4ad7f962ddb24ce6a0:/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