ソースを参照

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);
 }