Commit graph

7 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 4f0b8d3db0 Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
2013-06-16 22:01:41 +00:00
Hermès Bélusca-Maïto 6922a068e7 [KERNEL32-RTL]
Fix return type and usage of RtlDetermineDosPathNameType_U, and use the declaration of RTL_PATH_TYPE in winternl.h instead of the wineism DOS_PATHNAME_TYPE.

See r59183 and 59184 for more information.

svn path=/trunk/; revision=59185
2013-06-07 20:40:34 +00:00
Sylvain Petreolle d93b910537 Revert 59183 on hbelusca's request.
svn path=/trunk/; revision=59184
2013-06-07 09:36:37 +00:00
Hermès Bélusca-Maïto 917be25184 [KERNEL32-RTL]
Fix return type and usage of RtlDetermineDosPathNameType_U, and use the declaration of RTL_PATH_TYPE in winternl.h instead of the wineism DOS_PATHNAME_TYPE.

[RTL:PATH]
- Make usage of the IS_PATH_SEPARATOR(...) macro instead of automatically checking for L'\\' or L'/', and of OBJ_NAME_PATH_SEPARATOR when checking for L'\\' only or setting the character L'\\' (just code consistency only).

<Test fixes:>
- Fix a search loop and a check in RtlpWin32NTNameToNtPathName_U (a problem of setting the pointer *PartName via the variable p existed (always 1 character shift wrt. the expected result, and now *PartName is set to NULL even if p == NewBuffer).
- Zero out an optional parameter (if present) in RtlDosSearchPath_Ustr.
- Zero out the return buffer in RtlGetFullPathName_U (function from Wine).

Those fixes ^ correct the following tests:
* ntdll:RtlDosPathNameToNtPathName_U (58 errors to 4 errors remaining due to UNC path handling).
* ntdll:RtlDosSearchPath_U (9 errors to 6 errors remaining due to the fact that our RtlDosSearchPath_U doesn't throw exception on bad arguments because it checks the validity of its arguments (pointers especially), whereas on Windows it seems it doesn't happen to be the case).
* ntdll:RtlDosSearchPath_Ustr (4 errors to full success).
* ntdll:RtlGetFullPathName_U (31 errors to 8 errors).
* ntdll:RtlGetFullPathName_UstrEx (29 errors to 6 errors).

svn path=/trunk/; revision=59183
2013-06-07 01:25:57 +00:00
Amine Khaldi bd9b579007 [KERNEL32]
* Avoid ini cache if file does not exist anymore. By Bruno Jesus.

svn path=/trunk/; revision=58980
2013-05-09 21:04:49 +00:00
Amine Khaldi 382d0c0257 [KERNEL32]
* Remove some unused variables. By Andrew Talbot.

svn path=/trunk/; revision=58979
2013-05-09 21:01:41 +00:00
Alex Ionescu 5965cf4895 NO CODE CHANGE:
[KERNEL32]: Rename "misc" to "wine" since this is what this is now.

svn path=/trunk/; revision=52773
2011-07-22 03:26:28 +00:00
Renamed from reactos/dll/win32/kernel32/client/misc/profile.c (Browse further)