wine/dlls/kernel/tests path.c

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 10 18:16:31 CST 2002


ChangeSet ID:	6558
CVSROOT:	/opt/cvs-commit
Module name:	wine
Changes by:	julliard at wine.codeweavers.com	2002/12/10 18:16:31

Modified files:
	dlls/kernel/tests: path.c 

Log message:
	From: Francois Gouget <fgouget at free.fr>
	'"' is an illegal character on Win9x so we cannot test it.
	GetShortPathNameA behaves differently on Win9x and NT: on NT it
	succeeds even if not all path components exist, as long as they are
	already in the 8.3 format.
	Wine apparently implements the NT behavior thus many todo_wine went
	away.
	Fixed some error code checks to take into account all possible return
	values.
	GetTempFileNameA appears to only use the lower 16bits of the id on
	Win95 (and never returns more than 16 bits on other platforms).
	GetLongPathNameA is missing on some Windows versions.
	Modified the GetTempPath tests to make sure they return the expected
	value. Removed the redundant tests (e.g. if buf[0]==0 then buf!="foo",
	no need to test both).
	The 'len_with_null - 1' case is not testable as the Windows behavior
	varies too much between versions.
	We cannot check whether Windows touches the buffer either as this
	heavily depends on the Windows version and specific circumstances of
	the call.
	Finally NT4 sometimes exaggerates the required buffer size.

Patch: http://cvs.winehq.com/patch.py?id=6558

Old revision  New revision  Changes     Path
 1.10          1.11          +138 -160   wine/dlls/kernel/tests/path.c




More information about the wine-cvs mailing list