]> granicus.if.org Git - nethack/commit
more win32 recover
authornethack.allison <nethack.allison>
Mon, 19 Aug 2002 01:12:23 +0000 (01:12 +0000)
committernethack.allison <nethack.allison>
Mon, 19 Aug 2002 01:12:23 +0000 (01:12 +0000)
commit9968e1ffabd4691e5103c0e08eb66c009cdfe26e
treefddcd9793a9c6c299f4966eaa02b21c58d668dc8
parent93014315ff28b0b46f592d4ec574587d74cfab8e
more win32 recover

It turns out that the processentry32 structure contents
are slightly different on 2000/XP than they are on
95/98/Me according to the docs.

szExeFile
Pointer to a null-terminated string that specifies the name
of the executable file for the process.
Windows 2000/XP: The file name does not include the path.
Windows 95/98/Me: The file name includes the path.

Ensure that we check for the target values at the end of
the string.
util/recover.c