Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Operating System: ReactOS
Platform: x86 Hardware
Description
GetCurrentDirectory and GetTempPath don't behave the way applications might
expect them to. They even sometimes crash applications. I attached a simple test
program that should output something like this in reactos (wine tests might test
more thoroughly, but i haven't really looked at them):
==GetCurrentDirectoryA:
:A: [23]
:B: [23]
:C: [22]: D:\rosapps\tests\hello
:E: [23]: SUCCESS: Buffer untouched!
:F: [23]: SUCCESS: Buffer untouched!
==GetCurrentDirectoryW:
:A: [23]
:B: [23]
:C: [22]: D:\rosapps\tests\hello
: [23]: SUCCESS: Buffer untouched!
:E: [23]: SUCCESS: Buffer untouched!
==GetTempPathA:
:A: [34]
:B: [34]
:C: [33]: C:\DOCUME~1\Thomas\LOCALS~1\Temp\
: [34]: SUCCESS: Buffer untouched!
:E: [34]: SUCCESS: Buffer untouched!
==GetTempPathW:
:A: [34]
:B: [34]
:C: [33]: C:\DOCUME~1\Thomas\LOCALS~1\Temp\
: [34]: SUCCESS: Buffer touched ""!
: [34]: SUCCESS: Buffer touched ""!
:E: [34]: SUCCESS: Buffer touched ""!
:E: [34]: SUCCESS: Buffer touched ""!
0 tests failed