No subject


Tue Aug 30 15:00:21 CDT 2005


3165 2204 2024 NtCreateFile (0x40100080, {24, 0, 0x40, 0, 2288884,
"\??\K:\Games\tvserver\Server\Program\Bin\"}, 0x0, 0, 7, 1, 16416, 0, 0, ...
124, {status=0x0, info=1}, ) == 0x0
3166 2204 2024 NtClose (124, ... ) == 0x0

And for a really ugly one:

3324* 2204 2024 NtCreateFile (0x100001, {24, 0, 0x40, 0, 0, "\DosDevices\K:\"},
0x0, 128, 3, 1, 33, 0, 0, ... 124, {status=0x0, info=1}, ) == 0x0
3325* 2204 2024 NtQueryDirectoryFile (124, 0, 0, 0, -479225320, 1024,
BothDirectory, 1, "Games", 1, ... {status=0x0, info=104}, ) == 0x0
3326* 2204 2024 NtClose (124, ... ) == 0x0
3327* 2204 2024 NtCreateFile (0x100001, {24, 0, 0x40, 0, 0,
"\DosDevices\K:\Games\"}, 0x0, 128, 3, 1, 33, 0, 0, ... 124, {status=0x0,
info=1}, ) == 0x0
3328* 2204 2024 NtQueryDirectoryFile (124, 0, 0, 0, -479225320, 1024,
BothDirectory, 1, "tvserver", 1, ... {status=0x0, info=110}, ) == 0x0
3329* 2204 2024 NtClose (124, ... ) == 0x0
3330* 2204 2024 NtCreateFile (0x100001, {24, 0, 0x40, 0, 0,
"\DosDevices\K:\Games\tvserver\"}, 0x0, 128, 3, 1, 33, 0, 0, ... 124,
{status=0x0, info=1}, ) == 0x0
3331* 2204 2024 NtQueryDirectoryFile (124, 0, 0, 0, -479225320, 1024,
BothDirectory, 1, "Server", 1, ... {status=0x0, info=106}, ) == 0x0
3332* 2204 2024 NtClose (124, ... ) == 0x0
3333* 2204 2024 NtCreateFile (0x100001, {24, 0, 0x40, 0, 0,
"\DosDevices\K:\Games\tvserver\Server\"}, 0x0, 128, 3, 1, 33, 0, 0, ... 124,
{status=0x0, info=1}, ) == 0x0
3334* 2204 2024 NtQueryDirectoryFile (124, 0, 0, 0, -479225320, 1024,
BothDirectory, 1, "Program", 1, ... {status=0x0, info=108}, ) == 0x0
3335* 2204 2024 NtClose (124, ... ) == 0x0
3336* 2204 2024 NtCreateFile (0x100001, {24, 0, 0x40, 0, 0,
"\DosDevices\K:\Games\tvserver\Server\Program\"}, 0x0, 128, 3, 1, 33, 0, 0, ...
124, {status=0x0, info=1}, ) == 0x0
3337* 2204 2024 NtQueryDirectoryFile (124, 0, 0, 0, -479225320, 1024,
BothDirectory, 1, "Bin", 1, ... {status=0x0, info=100}, ) == 0x0
3338* 2204 2024 NtClose (124, ... ) == 0x0
3339* 2204 2024 NtCreateFile (0x100001, {24, 0, 0x40, 0, 0,
"\DosDevices\K:\Games\tvserver\Server\Program\Bin\"}, 0x0, 128, 3, 1, 33, 0, 0,
... 124, {status=0x0, info=1}, ) == 0x0
3340* 2204 2024 NtQueryDirectoryFile (124, 0, 0, 0, -479225320, 1024,
BothDirectory, 1, "Beta_Dedicated_Server.log", 1, ... {status=0x0, info=144}, )
== 0x0
3341* 2204 2024 NtClose (124, ... ) == 0x0

Clearly use of CreateFile is valid for directories with trailing path
separators. Weird, but valid. (This sequence occurs 4 times during the program
startup.)

Here's one with OpenFile:

8731 2204 2024 NtOpenFile (0x100001, {24, 0, 0x40, 0, 0,
"\??\K:\Games\tvserver\Server\Program\Bin\"}, 3, 8388641, ... 168, {status=0x0,
info=1}, ) == 0x0
8732 2204 2024 NtQueryVolumeInformationFile (168, 2292244, 24, Size, ...
{status=0x0, info=24}, ) == 0x0
8733 2204 2024 NtClose (168, ... ) == 0x0

BTW, I submitted the app in question yesterday to the appdb.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list