---
mingw-w64-crt/testcases/t_fstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-crt/testcases/t_fstat.c
b/mingw-w64-crt/testcases/t_fstat.c
index 9500009ade90..0a53f21d1bda 100644
--- a/mingw-w64-crt/testcases/t_fstat.c
+++ b/mingw-w64-crt/testcases/t_fstat.c
@@ -38,7 +38,7 @@ int main()
strcat(dirpath, TMPTMPL);
assert(mkdtemp(dirpath));
- atexit(remove_dirpath);
+ assert(atexit(remove_dirpath) == 0);
printf("mkdtemp(): path=%s\n", dirpath);
handle = CreateFileA(dirpath, FILE_READ_ATTRIBUTES | DELETE,
FILE_SHARE_VALID_FLAGS, NULL, OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS |
FILE_FLAG_DELETE_ON_CLOSE, NULL);
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public