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
missing call to XBT_LOG_CONNECT
[simgrid.git]
/
src
/
xbt
/
log.c
diff --git
a/src/xbt/log.c
b/src/xbt/log.c
index
410bf81
..
ce695aa
100644
(file)
--- a/
src/xbt/log.c
+++ b/
src/xbt/log.c
@@
-638,6
+638,7
@@
static void xbt_log_connect_categories(void)
XBT_LOG_CONNECT(mc_liveness);
XBT_LOG_CONNECT(mc_memory);
XBT_LOG_CONNECT(mc_memory_map);
XBT_LOG_CONNECT(mc_liveness);
XBT_LOG_CONNECT(mc_memory);
XBT_LOG_CONNECT(mc_memory_map);
+ XBT_LOG_CONNECT(mc_page_snapshot);
XBT_LOG_CONNECT(mc_request);
XBT_LOG_CONNECT(mc_safety);
XBT_LOG_CONNECT(mc_visited);
XBT_LOG_CONNECT(mc_request);
XBT_LOG_CONNECT(mc_safety);
XBT_LOG_CONNECT(mc_visited);
@@
-1098,8
+1099,8
@@
static xbt_log_setting_t _xbt_log_parse_setting(const char *control_string)
eq = control_string;
control_string += strcspn(control_string, " ");
eq = control_string;
control_string += strcspn(control_string, " ");
- xbt_assert(*dot == '.' && (*eq == '=' || *eq == ':'),
-
"Invalid control string '%s'", orig_control_string);
+ if(*dot != '.' && (*eq == '=' || *eq == ':'))
+
xbt_die (
"Invalid control string '%s'", orig_control_string);
if (!strncmp(dot + 1, "threshold", (size_t) (eq - dot - 1))) {
int i;
if (!strncmp(dot + 1, "threshold", (size_t) (eq - dot - 1))) {
int i;