From 7e9b7e08a8a31501189a32c60fb9cb7bc6b31b5e Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Mon, 1 Apr 2019 16:27:08 -0300 Subject: fs: versions of exists, is_file, is_dir for Unix and Windows that do not fork Implements versions of exists, is_file, is_dir for POSIX and Windows using io.open only, based on the semantics of their error codes on these platforms. Drops the dependency on TEST.EXE on Windows. --- win32/COPYING | 2 +- win32/tools/test.exe | Bin 62976 -> 0 bytes 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 win32/tools/test.exe (limited to 'win32') diff --git a/win32/COPYING b/win32/COPYING index 3413b8c2..d28b2efd 100644 --- a/win32/COPYING +++ b/win32/COPYING @@ -5,7 +5,7 @@ following licenses: * For 7z.exe and 7z.dll, please see COPYING_7z for details. * find.exe, mv.exe, wget.exe, ls.exe, pwd.exe, rmdir.exe, md5sum.exe, - test.exe, cp.exe, mkdir.exe, and uname.exe are part of UnxUtils, check + cp.exe, mkdir.exe, and uname.exe are part of UnxUtils, check http://unxutils.sourceforge.net/ for license information. * Files under win32/lua5.1, except for Microsoft.VC80.CRT.manifest and msv*.*, diff --git a/win32/tools/test.exe b/win32/tools/test.exe deleted file mode 100644 index 94c95f9e..00000000 Binary files a/win32/tools/test.exe and /dev/null differ -- cgit v1.2.3-55-g6feb