From a888c0799c04d0ce6f1cce94b12675343ee7c516 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 23 Aug 2007 07:43:24 +0000 Subject: * ntdll.h (STATUS_NO_SUCH_FILE): Define. * path.cc (get_nt_native_path): Reset upath.Length to 0 on each invocation. (symlink_info::check): Use NT native functions. --- winsup/cygwin/ntdll.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/ntdll.h') diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index f5c079767..b676ce797 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -15,6 +15,7 @@ #endif #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS) 0xc0000004) #define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xc000000d) +#define STATUS_NO_SUCH_FILE ((NTSTATUS) 0xc000000f) #define STATUS_INVALID_DEVICE_REQUEST ((NTSTATUS) 0xc0000010) #define STATUS_NO_MEDIA_IN_DEVICE ((NTSTATUS) 0xc0000013) #define STATUS_ACCESS_DENIED ((NTSTATUS) 0xc0000022) -- cgit v1.2.3