Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 6 Jun 2002 19:47:35 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: 1.3.11(CVS): Possible bug involving temp file generation
Message-ID: <20020606234735.GB11320@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20020605132012.8086.qmail@web21002.mail.yahoo.com> <12220356170.20020605154358@syntrex.com> <20020605150849.GF15167@redhat.com> <17118445663.20020606162210@syntrex.com> <20020606165907.F22789@cygbert.vinschen.de> <13925672855.20020606182237@syntrex.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <13925672855.20020606182237@syntrex.com>
User-Agent: Mutt/1.3.23.1i

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/

