Преглед на файлове

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

Corentin Salingue преди 8 години
родител
ревизия
34dad9a886
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);
 }