Tests for GetLongPathName
Hi Alexandre, Several file related functions have a maximum path size of 32767 when using a "\\?\" prefix. Testing these large paths only works on Windows due to Linux having a maximum path limit of 4096. Does it still make sense to add these tests or should I focus on <= 4096? I guess if we/Wine have a limit due to the OS we are running on we should probably act the same as that higher limit on Windows? -- Cheers, Paul.
Paul Vriens <paul.vriens.wine(a)gmail.com> writes:
Hi Alexandre,
Several file related functions have a maximum path size of 32767 when using a "\\?\" prefix. Testing these large paths only works on Windows due to Linux having a maximum path limit of 4096.
Does it still make sense to add these tests or should I focus on <= 4096? I guess if we/Wine have a limit due to the OS we are running on we should probably act the same as that higher limit on Windows?
You can add a couple of tests as todos, but I doubt we'll ever care to fix it. Most of the tests should concentrate on more reasonable sizes, something like 2*MAX_PATH to make sure there are no small stack buffers in the code path. -- Alexandre Julliard julliard(a)winehq.org
participants (2)
-
Alexandre Julliard -
Paul Vriens