Browse Source

Follow commit -r21594. It's a directory not a file

Corentin Salingue 8 years ago
parent
commit
34dad9a886
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/disk_ops/disk_stdio.c

+ 1 - 1
src/core/disk_ops/disk_stdio.c

@@ -350,7 +350,7 @@ static void starpu_stdio_unplug(void *base)
 {
 	struct starpu_stdio_base * fileBase = (struct starpu_stdio_base *) base;
 	if (fileBase->created)
-		unlink(fileBase->path);
+		rmdir(fileBase->path);
 	free(fileBase->path);
 	free(fileBase);
 }