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
[MSVC] cleaner solution to the lack of unistd for flex parsers
[simgrid.git]
/
src
/
xbt
/
config.c
diff --git
a/src/xbt/config.c
b/src/xbt/config.c
index
60bf7a6
..
69389e7
100644
(file)
--- a/
src/xbt/config.c
+++ b/
src/xbt/config.c
@@
-275,7
+275,7
@@
xbt_cfg_register(xbt_cfg_t * cfg,
break;
default:
break;
default:
- XBT_ERROR("%d is an invalid
e
type code", (int)type);
+ XBT_ERROR("%d is an invalid type code", (int)type);
}
xbt_dict_set((xbt_dict_t) * cfg, name, res, NULL);
}
xbt_dict_set((xbt_dict_t) * cfg, name, res, NULL);
@@
-284,7
+284,7
@@
xbt_cfg_register(xbt_cfg_t * cfg,
/** @brief Unregister an element from a config set.
*
* @param cfg the config set
/** @brief Unregister an element from a config set.
*
* @param cfg the config set
- * @param name the name of the elem to be freed
+ * @param name the name of the elem
ent
to be freed
*
* Note that it removes both the description and the actual content.
* Throws not_found when no such element exists.
*
* Note that it removes both the description and the actual content.
* Throws not_found when no such element exists.
@@
-667,7
+667,7
@@
void xbt_cfg_set_parse(xbt_cfg_t cfg, const char *options) {
val = strchr(name, ':');
if (!val) {
/* don't free(optionlist_cpy) here, 'name' points inside it */
val = strchr(name, ':');
if (!val) {
/* don't free(optionlist_cpy) here, 'name' points inside it */
- xbt_die("Option '%s' badly formated. Should be of the form 'name:value'",
+ xbt_die("Option '%s' badly format
t
ed. Should be of the form 'name:value'",
name);
}
*(val++) = '\0';
name);
}
*(val++) = '\0';