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
Filename is not valid anymore after MSG_file_close.
[simgrid.git]
/
examples
/
msg
/
io
/
file.c
diff --git
a/examples/msg/io/file.c
b/examples/msg/io/file.c
index
fc62fac
..
c86a7d0
100644
(file)
--- a/
examples/msg/io/file.c
+++ b/
examples/msg/io/file.c
@@
-62,8
+62,8
@@
int host(int argc, char *argv[])
XBT_INFO("\tHave read %llu on %s (of size %llu)",read,filename,
MSG_file_get_size(file));
- MSG_file_close(file);
XBT_INFO("\tClose file '%s'",filename);
+ MSG_file_close(file);
free(mount);
return 0;