From: Christophe ThiƩry Date: Thu, 21 Apr 2011 09:16:42 +0000 (+0200) Subject: For tesh, produce the same output for different context settings X-Git-Tag: v3_6_rc3~129 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/bdbe999b43bcbc257c70efd27142a7b1da323808 For tesh, produce the same output for different context settings --- diff --git a/src/xbt/config.c b/src/xbt/config.c index b71e69c0f9..f5fd93c3a6 100644 --- a/src/xbt/config.c +++ b/src/xbt/config.c @@ -663,7 +663,7 @@ void xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options) xbt_die("Setting CMD prop coordinates must be \"yes\""); } - if (strcmp(name,"contexts/factory")) + if (strncmp(name, "contexts/", strlen("contexts/"))) XBT_INFO("Configuration change: Set '%s' to '%s'", name, val); TRY {