A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
further rework the config handling. Still much to do
[simgrid.git]
/
src
/
surf
/
xml
/
surfxml_sax_cb.cpp
diff --git
a/src/surf/xml/surfxml_sax_cb.cpp
b/src/surf/xml/surfxml_sax_cb.cpp
index
056620d
..
63c8c76
100644
(file)
--- a/
src/surf/xml/surfxml_sax_cb.cpp
+++ b/
src/surf/xml/surfxml_sax_cb.cpp
@@
-903,8
+903,8
@@
void ETag_surfxml_config(void){
char *cfg;
xbt_dict_foreach(current_property_set, cursor, key, elem) {
cfg = bprintf("%s:%s",key,elem);
char *cfg;
xbt_dict_foreach(current_property_set, cursor, key, elem) {
cfg = bprintf("%s:%s",key,elem);
- if(xbt_cfg_is_default_value(
_sg_cfg_set,
key))
- xbt_cfg_set_parse(
_sg_cfg_set
, cfg);
+ if(xbt_cfg_is_default_value(key))
+ xbt_cfg_set_parse(
simgrid_config
, cfg);
else
XBT_INFO("The custom configuration '%s' is already defined by user!",key);
free(cfg);
else
XBT_INFO("The custom configuration '%s' is already defined by user!",key);
free(cfg);