1.3.11(CVS): Possible bug involving temp file generation

Christopher Faylor cgf@redhat.com
Thu Jun 6 21:48:00 GMT 2002


On Thu, Jun 06, 2002 at 06:22:37PM +0200, Pavel Tsekov wrote:
>>> I have a question - what is the return value of NtQueryObject () if
>>> the ntdll.dll is not found i.e. you're executing on Win9x ? Is it 0 or
>>> -1 ? It seems from the strace.log the it is 0 but I want to be sure.
>>> 
>>> If it is 0 there is a problem - see below:
>
>CV> It's not 0.  See autoload.cc.
>
>I've just tested this by the following change in autoload.cc:
>
>LoadDLLfuncEx2 (NtQueryObject, 20, ntdlltest, 1, 1)
>
>There is no ntdlltest.dll on my machine though the call to
>NtQueryObject () returns 0.

Yep.  It's a bug.  I just fixed it in CVS.

Thanks.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list