Commit Graph

53 Commits (d335af1ec003269d08ed0341369fcb169844bb1a)

Author SHA1 Message Date
Damjan Jovanovic 2f877b0a79 ntdll: Convert even Unix paths outside Wine's drive mappings to DOS paths. 2010-07-23 13:05:32 +02:00
Nikolay Sivov f9b41a7983 ntdll: Release buffer when it won't be referenced. 2010-01-08 17:04:20 +01:00
Maarten Lankhorst 768160e944 ntdll: Make all exported wine functions CDECL. 2008-12-17 15:02:25 +01:00
Alexandre Julliard 6be25f8cb1 ntdll: Simplify the RtlIsDosDeviceName_U implementation. 2008-10-29 15:21:51 +01:00
Andrew Talbot 664349eacc ntdll: Remove unused variables. 2008-04-23 12:23:29 +02:00
Austin English 05faae7b5a Spelling fixes. 2008-04-09 12:07:39 +02:00
Alexandre Julliard 5625c6079e Get rid of the global thread.h header. 2008-03-01 11:57:00 +01:00
Dmitry Timoshkov aebcbf0f6e kernel32: Return upper cased drive letters in paths, some applications depend on it. 2008-02-27 14:52:26 +01:00
Alexandre Julliard 7475ecac53 ntdll: Fixed off-by-one error in RtlGetFullPathName_U (spotted by Michael Builov). 2007-10-19 14:40:23 +02:00
Alexandre Julliard 7fd1ad5ffa ntdll: Cache the DOS drives stat info for up to one second. 2007-10-18 15:16:07 +02:00
Dmitry Timoshkov 1f1d2ddf5b ntdll: Make some data const. 2006-11-29 12:37:27 +01:00
Hans Leidekker f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Paul Vriens 54f18be44d ntdll: Fix failing test on windows. 2006-08-18 20:56:19 +02:00
Vitaliy Margolen 27e3b82d49 ntdll: Fix 2 failing test on native. Change Wine accordingly. 2006-06-27 11:50:08 +02:00
Michael Stefaniuc fee72b607a Yet another round of redundant NULL checks before HeapFree. 2006-06-13 11:40:23 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
James Hawkins b721ee0d41 Set the file_part for \\?\ long file names too. 2005-10-18 14:12:25 +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
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Alexandre Julliard 3be8cb8b02 Moved initialization of the default user process parameters to ntdll. 2005-07-14 12:33:30 +00:00
Alexandre Julliard b9a3f8fabf RtlGetFullPathName_U should remove the trailing dot on directory
names.
2005-06-24 11:55:28 +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 e4412a618c Removed the special casing of kernel32 and ntdll for the TEB
definition in winternl.h.
2005-05-16 17:52:10 +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
Hans Leidekker a9b4a471a9 Fix signed/unsigned comparison warnings. 2004-08-13 23:53:44 +00:00
Alexandre Julliard 63a5d81cfa Better fix for removing trailing spaces in RtlGetFullPathName_U.
Need to remove trailing dots too (reported by Ken Belleau).
2004-05-14 22:10:24 +00:00
Alexandre Julliard c00b0b029a Remove trailing spaces from the filename in RtlGetFullPathName_U. 2004-05-13 05:21:23 +00:00
Alexandre Julliard 362ce5eac7 Minor fixes. 2004-04-20 00:37:00 +00:00
Alexandre Julliard dfcfc98ed0 RtlSetCurrentDirectory_U: store a handle to the current directory
along with its name.
2004-04-16 05:00:46 +00:00
Alexandre Julliard 186b419e02 Added hack to fetch the current directory from the subsystem tid so
that it is handled correctly in ntdll also for 16-bit tasks.
2004-04-16 00:10:03 +00:00
Alexandre Julliard 017438cdbc Fixed handling of \\?\ prefix in RtlDosPathNameToNtPathName_U.
Fixed parsing of UNC file names in RtlGetFullPathName_U.
2004-04-14 04:34:04 +00:00
Alexandre Julliard e792fb74ba Implemented NtCreatelFile using the new symlink scheme.
Use NtCreateFile in the loader, and get rid of the CreateFileW upcall
hack.
2004-04-12 23:31:09 +00:00
Alexandre Julliard 27b1cf9ab1 Fixed RtlDosPathNameToNtPathName_U prototype. 2004-04-05 20:21:16 +00:00
Alexandre Julliard 8b0938b6e3 Make RtlGetFullPathName_U handle Unix paths, using the new symlinks
scheme.
2004-04-01 02:09:14 +00:00
Alexandre Julliard 94e3477d7f Moved slash conversion to collapse_path, and remove duplicate
backslashes too.
2004-03-22 22:59:25 +00:00
Alexandre Julliard b8d025eeb9 Rewrote the collapsing of . and .. in RtlGetFullPathName_U for better
compatibility.
2004-03-17 01:58:51 +00:00
Alexandre Julliard fe8ead56a8 Get rid of ntdll_get_process_heap and ntdll_get_process_pmts by using
standard APIs instead.
2004-03-12 01:59:35 +00:00
Eric Pouech 6c8ee62340 - RtlGetFullPathName_U: rewritten so that the source & destination
buffer can be the same
- GetFullPathName[AW]: now call RtlGetFullPathName_U
- GetShortPathNameW: fixed regression introduced in last patch
2004-01-20 01:40:23 +00:00
Eric Pouech 9ccb73a8d7 Reimplemented Get{Short|Long}PathName and updated the regression
tests.
2004-01-15 00:20:46 +00:00
Francois Gouget 82bff6bddd Only convert '/'s to '\\'s up to the '\0' as the rest of the buffer
may not be initialized (found by Valgrind).
2003-11-28 23:36:06 +00:00
Dimitrie O. Paun f448b79e79 RtlReAllocateHeap() does not allocate memory. 2003-11-20 23:44:13 +00:00
Uwe Bonnes d0f86f640b get_full_path_helper: Handle the case \\.\\ as intended; fix length
arguments for memmove.
2003-10-28 00:07:56 +00:00
Alexandre Julliard 953849f2fc Added hack to call CreateFileW through a pointer so that we don't need
to link to kernel functions.
Commented out SMB support in NtReadFile for now.
2003-10-08 03:51:31 +00:00
Alexandre Julliard 509e4d175a A couple more fixes in RtlGetFullPathName_U.
Reverted my previous fix in RtlDosSearchPath_U, extension handling is
supposed to be broken.
2003-10-07 03:46:34 +00:00
Eric Pouech 7760413f6b Fixed a couple of bugs in RtlGetFullPathName_U. 2003-10-04 03:06:58 +00:00
Alexandre Julliard 28c3c2f0f0 Fixed a couple of bugs in RtlDosSearchPath_U and RtlGetFullPathName_U.
Make RtlDoesFileExists_U do something useful by calling CreateFileW
for now.
2003-10-02 04:43:45 +00:00
Alexandre Julliard 65e7196fed Moved most kernel string functions to dlls/kernel. 2003-09-16 20:35:42 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Eric Pouech 2e5cdf95da Implemented:
- RtlDoesFileExists_U as a stub
- RtlDosSearchPath_U
2003-06-16 01:24:30 +00:00