From: Martin Quinson Date: Mon, 14 Sep 2015 05:17:59 +0000 (+0200) Subject: bummer X-Git-Tag: v3_12~187^2~15 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/27e0d66723c8ddb57672492eb4e0055687927abb bummer --- diff --git a/src/xbt/xbt_os_file.c b/src/xbt/xbt_os_file.c index a14df25450..43c30bb8e4 100644 --- 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