This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.3.11(CVS): Possible bug involving temp file generation


On Thu, Jun 06, 2002 at 07:47:35PM -0400, Christopher Faylor wrote:
>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.

I should reiterate that this code is *only* called when a cygwin process
is invoked from a non-cygwin process with stdin/stdout/stderr redirected
to a disk file.

It has nothing to do with temp file creation or normal file creation.

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]