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
migration: minor cleanup and update TODO
[simgrid.git]
/
src
/
xbt
/
xbt_replay.c
diff --git
a/src/xbt/xbt_replay.c
b/src/xbt/xbt_replay.c
index
ffd8002
..
7cc39e4
100644
(file)
--- a/
src/xbt/xbt_replay.c
+++ b/
src/xbt/xbt_replay.c
@@
-52,8
+52,8
@@
xbt_replay_reader_t xbt_replay_reader_new(const char *filename)
{
xbt_replay_reader_t res = xbt_new0(s_xbt_replay_reader_t,1);
res->fp = fopen(filename, "r");
- xbt_assert(res->fp != NULL, "Cannot open %s: %s", filename,
-
strerror(errno));
+ if (res->fp == NULL)
+
xbt_die("Cannot open %s: %s", filename,
strerror(errno));
res->filename = xbt_strdup(filename);
return res;
}
@@
-146,7
+146,7
@@
void _xbt_replay_action_exit(void)
/**
* \ingroup XBT_replay
- * \brief
TODO
+ * \brief
function used internally to actually run the replay
* \param argc argc .
* \param argv argv