Commit Graph

150 Commits

Author SHA1 Message Date
Frédéric Delanoy 502fc1aef9 ntdll: Use boolean type where appropriate. 2013-12-09 11:45:50 +01:00
Huw Davies fed9f67bc4 ntdll: Don't reduce the size of the local buffer when we come to read another batch of entries.
In the wildcard case, we can't know how much to reduce it by anyway.
2013-12-03 19:40:22 +01:00
Frédéric Delanoy 86fdca6750 ntdll: Use BOOL type where appropriate. 2013-10-30 09:45:20 +01:00
Alexandre Julliard 6666614a19 ntdll: Actually return the mount point in get_device_mount_point on Mac OS. 2013-09-04 16:28:10 +02:00
Alexandre Julliard d191d5bca0 ntdll: Use a RunOnce function to initialize directory lookup options. 2013-08-29 19:56:18 +02:00
Alexandre Julliard 581cef082e ntdll: Use fclose instead of endmntent since we use fopen anyway. 2013-07-29 21:07:12 +02:00
Alexandre Julliard 96b7c71cfe ntdll: Leave NtQueryDirectoryFile early when a non-wildcard mask is used in the getdirentries case.
This avoids having to retry the getdirentries call which may fail if
the buffer size is too small.
2013-07-01 19:51:20 +02:00
Andrew Talbot d0d28b96a4 ntdll: Avoid signed-unsigned integer comparisons. 2013-02-21 08:34:13 +01:00
Alexandre Julliard 606c88a348 ntdll: Use the __NR_ names for Linux system calls. 2013-01-21 21:37:02 +01:00
Alexandre Julliard 90e90e3b6a ntdll: Make the page_size variable global. 2013-01-08 16:35:30 +01:00
Vincas Miliūnas 6314cf0295 kernel32: Added implementation of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:14:43 +02:00
André Hentschel aac478f51b ntdll: Catch bad pointers in RtlWow64EnableFsRedirectionEx. 2012-08-22 12:11:19 +02:00
André Hentschel 54a9c0fc60 ntdll: Add a helper function that returns the record length of a dirent struct. 2012-06-04 12:17:56 +02:00
André Hentschel 1b1af34173 ntdll: Change default COM device for FreeBSD 8.0. 2012-06-04 12:17:55 +02:00
André Hentschel 1748f0de4e ntdll: Add default COM device for DragonFly BSD. 2012-06-04 12:17:54 +02:00
André Hentschel 1013d2e75c ntdll: Enhance FreeBSD checks to also check for DragonFly BSD when appropriate. 2012-06-04 12:17:54 +02:00
Grazvydas Ignotas edd4356dba ntdll: Fix restart size calculation. 2011-11-02 20:01:15 +01:00
Marcus Meissner 811ae03aeb ntdll: Avoid shadowing "de" variable. 2011-10-20 11:07:08 +02:00
Marcus Meissner 956487434d ntdll: Handle errno also for non ENOENT errors on lseek (Coverity). 2011-08-31 19:43:07 +02:00
Grazvydas Ignotas 006413afe4 ntdll: Use swapping method to return . and .. as first entries. 2011-08-24 13:56:37 +02:00
Alexandre Julliard f4024eaa49 ntdll: Fetch the windows directory from the shared user data. 2011-06-16 12:29:21 +02:00
Bart Van Assche e5fe510720 ntdll: Avoid examining uninitialized data. 2011-03-31 12:49:34 +02:00
Andrew Nguyen c698fc86b9 ntdll: Fix one-time warning message output. 2011-02-01 12:38:57 +01:00
Charles Davis 4e44e153c5 ntdll: Check for case-insensitive volumes. 2011-01-28 17:23:57 +01:00
Piotr Caban b614a15328 server: Return multiple events in read_changes. 2011-01-19 14:13:33 +01:00
Alexandre Julliard 0f9e93afaa ntdll: Use the getdents64 system call on all Linux platforms. 2010-12-27 12:01:43 +01:00
Alexandre Julliard 37ae7a533c ntdll: Use the syscall function instead of inline assembly. 2010-12-23 16:10:18 +01:00
Gerald Pfeifer dfa200d1e8 ntdll: Avoid compiler warning in the default case in append_entry. 2010-03-15 13:41:39 +01:00
Alexandre Julliard 25bee84030 ntdll: Don't require read access to the root directory for normal opens, similarly to the open by id case. 2010-01-08 15:54:20 +01:00
Gerald Pfeifer e8158e48cb ntdll: Avoid one warning around assert(0). 2009-12-29 13:17:30 +01:00
Gerald Pfeifer e8d387fd45 ntdll: Use #ifdef instead of #if to check for _DARWIN_FEATURE_64_BIT_INODE. 2009-12-28 12:27:15 +01:00
Alexandre Julliard 6509044087 ntdll: Search the whole filesystem under the starting directory when opening files by id. 2009-12-09 23:34:45 +01:00
Alexandre Julliard 9c789f4025 ntdll: Add support for the FILE_OPEN_BY_FILE_ID flag in NtCreateFile. 2009-12-03 10:10:06 +01:00
Alexandre Julliard 6677565f34 ntdll: Don't report a file id for directory entries that are on a different device. 2009-12-03 10:10:06 +01:00
Alexandre Julliard 7dc1c2af52 ntdll: Fix test failure on recent Windows versions. 2009-12-03 10:08:56 +01:00
Alexandre Julliard d97149b708 ntdll: Add support for converting file names to Unix when a root directory is specified. 2009-12-01 17:24:26 +01:00
Alexandre Julliard a420a207e3 ntdll: Move the directory lookup part of wine_nt_to_unix_file_name to a separate helper. 2009-12-01 16:30:52 +01:00
Maarten Lankhorst 58c7aa4691 ntdll: Silence a common warning. 2009-12-01 15:10:37 +01:00
Alexandre Julliard 74ae7d358f ntdll: Add support for the different info classes in NtQueryDirectoryFile. 2009-11-18 22:10:05 +01:00
Alexandre Julliard 551ddfe402 ntdll: Make the various directory info size functions depend on the info class. 2009-11-18 22:09:48 +01:00
Alexandre Julliard ee9b19ab5f ntdll: Pass the NtQueryDirectoryFile info class down into the various helper functions. 2009-11-18 22:03:51 +01:00
Alexandre Julliard cfafcc5a6e ntdll: Define a generic file information structure to allow supporting multiple info classes in NtQueryDirectoryFile. 2009-11-18 22:02:53 +01:00
Alexandre Julliard c843665c12 ntdll: Pass the full I/O status block to append_entry and have it set the status code on overflow. 2009-11-18 21:59:02 +01:00
Alexandre Julliard da1df74147 ntdll: Use the common fill_stat_info function from the directory code too. 2009-11-18 21:58:23 +01:00
Alexandre Julliard aadf703fc0 ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx. 2009-10-28 10:55:19 +01:00
Alexandre Julliard b102fcadef ntdll: Add Windows directory redirections for Wow64. 2009-10-22 20:06:06 +02:00
Alexandre Julliard 639e07bead ntdll: Abstract the support for comparing file identities. 2009-10-22 19:59:04 +02:00
Alexandre Julliard 4e77222820 ntdll: Move the window and system dir variables to directory.c 2009-10-22 19:55:06 +02:00
Alexandre Julliard c1cb976b66 ntdll: Fix a file descriptor leak. 2009-09-10 10:53:38 +02:00
Ken Thomases 028b763f2f ntdll: For Darwin/Mac OS X, use legacy getdirentries if 64-bit inodes enabled.
Fixes building on Snow Leopard.
2009-08-03 15:01:08 +02:00