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
Wow, I wrote a simcall! 11 files to modify to do a simple get_size on a
[simgrid.git]
/
src
/
msg
/
msg_io.c
diff --git
a/src/msg/msg_io.c
b/src/msg/msg_io.c
index
c5a995c
..
09188a3
100644
(file)
--- a/
src/msg/msg_io.c
+++ b/
src/msg/msg_io.c
@@
-111,7
+111,8
@@
int MSG_file_unlink(msg_file_t fd)
*/
size_t MSG_file_get_size(msg_file_t fd){
- return fd->simdata->smx_file->surf_file->size;
+ size_t size = simcall_file_get_size(fd->simdata->smx_file);
+ return size;
}
/** \ingroup msg_file_management