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
Add MSG_file_rename function
[simgrid.git]
/
src
/
msg
/
msg_io.c
diff --git
a/src/msg/msg_io.c
b/src/msg/msg_io.c
index
cb2018a
..
1aa60ef
100644
(file)
--- a/
src/msg/msg_io.c
+++ b/
src/msg/msg_io.c
@@
-216,9
+216,9
@@
msg_error_t MSG_file_seek (msg_file_t fd, sg_storage_size_t offset, int whence)
/*
* Rename the file in the contents of its associated storage.
*/
/*
* Rename the file in the contents of its associated storage.
*/
-msg_error_t MSG_file_rename (msg_file_t fd, char* new_name)
+msg_error_t MSG_file_rename (msg_file_t fd, c
onst c
har* new_name)
{
{
-
THROW_UNIMPLEMENTED
;
+
simcall_file_rename(fd->simdata->smx_file, new_name)
;
return MSG_OK;
}
return MSG_OK;
}