66 Commits

Author SHA1 Message Date
Reinhard Karcher
a736ac3f3e ntdll: Fix NtQueryDirectoryFile handling of short names on vfat filesystems. 2007-01-02 12:07:52 +01:00
Alexandre Julliard
df29fd3ab3 ntdll: Always return . and .. as the first two entries in directory searches. 2006-12-01 13:11:38 +01:00
Alexandre Julliard
83ce958793 ntdll: Store the fd type in the cache and return it in server_get_unix_fd. 2006-11-20 14:15:06 +01:00
Alexandre Julliard
a9f214cb0d ntdll: Added support for reading directories using the BSD getdirentries function. 2006-11-13 15:42:48 +01:00
Alexandre Julliard
9ddb9294da ntdll: Added a server_get_unix_fd function that avoids doing a dup() of the fd when not required. 2006-11-03 11:38:44 +01:00
Hans Leidekker
f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Eric Pouech
449e8557fd ntdll: Plug a memory leak. 2006-10-17 11:13:52 +02:00
Alexandre Julliard
9719b45bb2 ntdll: More workarounds for more kernel bugs in VFAT ioctl mapping on x86-64. 2006-10-14 20:24:07 +02:00
Alexandre Julliard
01dd1ffdc2 ntdll: Implement FSCTL_DISMOUNT_VOLUME for MacOSX. 2006-10-03 14:54:21 +02:00
Alexandre Julliard
2f356c785e ntdll: Fixed buffer overflow in NtQueryDirectoryFile optimisation. 2006-08-07 13:53:31 +02:00
Tijl Coosemans
e548d40831 ntdll: Add FreeBSD default serial port device. 2006-08-07 13:11:55 +02:00
Robert Shearman
f5cc0f7d09 ntdll: Add an optimisation for NtQueryDirectoryFile to not read the
whole directory if the mask doesn't contain any wildcards and the file
exists on in the directory with the same case as the mask.
2006-08-04 12:04:16 +02:00
Alexandre Julliard
3f2da592ad ntdll: Null-terminate strings returned by VFAT_IOCTL_READDIR_BOTH to work around a kernel bug. 2006-07-19 20:04:45 +02:00
Jeremy White
d9de5217ae ntdll: On Solaris, limits.h is required for PATH_MAX. 2006-06-19 22:36:30 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack
23b74754fe ntdll: Recursive notify is implemented. 2006-03-24 12:14:19 +01:00
Mike McCormack
e4faabfa64 server: Track created and removed directories in the tree of inodes for inotify.
Add them to or remove them from existing recursive watches.
2006-02-21 11:13:23 +01:00
Mike McCormack
0790f95589 kernel32: ReadDirectoryChangesW fixes.
ReadDirectoryChangesW remembers whether it's recording changes or not.
Don't initialize overlapped->InternalHigh.
The hEvent is cleared when ReadDirectoryChanges is called.
2006-02-07 16:50:36 +01:00
Mike McCormack
0193211946 server: Fill in NtNotifyChangeDirectoryFile's buffer with change data. 2006-02-06 11:58:55 +01:00
Robert Millan
8800352477 Enable for GNU/kFreeBSD the same kernel-specific interface/parameter
that is used with FreeBSD.
2006-02-05 13:06:50 +01:00
Mike McCormack
08351071fd server: Fix the file notification interface to use directory handles. 2006-01-27 12:13:56 +01:00
Mike McCormack
0c728255a4 ntdll: Add a stub implementation of NtNotifyChangeDirectoryFile. 2006-01-16 20:40:11 +01:00
Alexandre Julliard
59797f292e Pass specific access rights to wine_server_handle_to_fd. 2005-12-12 17:15:26 +01:00
Alexandre Julliard
67505c00af server: Support for opening devices.
Added support for opening devices directly with the server when they
don't correspond to a Unix file.
2005-12-12 14:27:45 +01:00
Ge van Geldorp
1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard
a2fb7c1644 Added an implementation of the FSCTL_DISMOUNT_VOLUME ioctl that
attempts to unmount the Unix device.
2005-10-28 16:45:24 +00:00
Alexandre Julliard
51fbfbb9bb Make show_dir_symlinks the default and get rid of the option. 2005-10-27 11:22:47 +00:00
Alexandre Julliard
45885d136c In parse_mount_entries return the loop device instead of the mounted
file for loop mounts.
2005-10-13 14:32:22 +00:00
Alexandre Julliard
261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard
20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard
5617b716e7 Added a wine_unix_to_nt_file_name function to do proper pathname
conversions instead of relying on GetFullPathName hacks.
2005-08-11 10:41:26 +00:00
Mike McCormack
6b636e3e7b Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION. 2005-06-25 18:00:57 +00:00
Mike McCormack
04f9f1b066 Don't include winbase.h or winerror.h when not necessary. 2005-06-21 09:52:40 +00:00
Alexandre Julliard
6e764fceda Moved directory options to HKCU\Software\Wine. 2005-06-17 21:07:44 +00:00
Mike McCormack
5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Alexandre Julliard
2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Detlef Riekenberg
d9033a49da Mark links to dir with FILE_ATTRIBUTE_REPARSE_POINT, so modern
applications can use this additional information.
2005-05-31 13:25:38 +00:00
Francois Gouget
883413faf6 On some systems (linux 2.6.8) AFS fails to set d_reclen to 0 or does
not support VFAT_IOCTL_READDIR_BOTH but returns 0 (success) anyway. So
set d_reclen to 65535 (an impossible value) before the ioctl() and
check it afterwards to work around this bug.
2005-05-30 11:33:42 +00:00
Gerald Pfeifer
4135b43387 Avoid compiler warning in parse_mount_entries(). 2005-05-20 19:24:07 +00:00
Juan Lang
f935b51423 Implement get_default_drive_device for FreeBSD. 2005-05-19 11:12:27 +00:00
Robert Lunnon
bfec8c229d Implement get_default_drive_device for Solaris. 2005-05-14 18:48:18 +00:00
Francois Gouget
821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Ulrich Czekalla
e3b59eac24 Don't mark a file as readonly if it has any write bit set. 2005-03-16 19:48:42 +00:00
Alexandre Julliard
c8c9337aa0 Consider any character above 0x7f to be invalid in a DOS short name. 2005-02-09 13:32:12 +00:00
Alexandre Julliard
50c1a6b959 Fixed read_directory_getdents for large directories (found by Rein
Klazes).
2004-12-09 16:54:20 +00:00
Gerald Pfeifer
cd2b2bd99a Avoid a warning on FreeBSD. 2004-12-08 14:09:37 +00:00
Alexandre Julliard
da41f988a8 Use a direct getdents syscall on Linux to avoid relying on
implementation details of seekdir/telldir.
2004-12-06 16:48:16 +00:00
Alexandre Julliard
8e1e835d11 Don't try to stat network mounts in parse_mount_entries, we can't
return a meaningful device for them anyway (suggested by Robert
Shearman).
2004-09-13 18:14:15 +00:00
Alexandre Julliard
6a27b48895 Fd type is no longer used, get rid of it. 2004-08-18 00:04:58 +00:00
Hans Leidekker
a9b4a471a9 Fix signed/unsigned comparison warnings. 2004-08-13 23:53:44 +00:00