diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-03-02 23:04:26 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-03-02 23:04:26 +0300 |
commit | 788e7da136e19ec6e3e5d40872eb728677f9a4cc (patch) | |
tree | b43e12c495987dd926f951918252aa5419f18c14 /winsup/cygwin/ntdll.h | |
parent | 35328778895f786e1db88faba245c96a377e0b38 (diff) |
* ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
* syscalls.cc (unlink_nt): Check shared directory for being empty
before trying to move and mark for deletion.
Diffstat (limited to 'winsup/cygwin/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 4fc5da599..0bbb5a521 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -79,6 +79,14 @@ typedef enum _FILE_INFORMATION_CLASS FileMaximumInformation } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS; +typedef struct _FILE_NAMES_INFORMATION +{ + ULONG NextEntryOffset; + ULONG FileIndex; + ULONG FileNameLength; + WCHAR FileName[1]; +} FILE_NAMES_INFORMATION, *PFILE_NAMES_INFORMATION; + typedef struct _FILE_BOTH_DIR_INFORMATION { ULONG NextEntryOffset; |