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
bummer
[simgrid.git]
/
src
/
xbt
/
xbt_os_file.c
diff --git
a/src/xbt/xbt_os_file.c
b/src/xbt/xbt_os_file.c
index
a14df25
..
43c30bb
100644
(file)
--- a/
src/xbt/xbt_os_file.c
+++ b/
src/xbt/xbt_os_file.c
@@
-87,7
+87,7
@@
char *xbt_basename(const char *path) {
char ext[1024];
errno_t err;
err = _splitpath_s(path, NULL,0, NULL,0, file,1024, ext,1024);
- return bprintf("%s
%s",drive,dir
);
+ return bprintf("%s
.%s",file,ext
);
#else
return basename(xbt_strdup(path));
#endif