This is the mail archive of the cygwin-patches@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: Problems on accessing Windows network resources


On Mon, Jul 14, 2003 at 01:32:56PM -0400, Pierre A. Humblet wrote:
> After researching the issue, all cygwin routines I could find (not
> only those ntsec related) initialize their handles to NULL, except
> subauth() and create_token(). Those exceptions make sense because 
> those two must return INVALID_HANDLE_VALUE on error.
> 
> The patch itself avoids initializing any handle (avoiding ambiguity), 
> except the usual automatic initialization to 0 of the cygheap stuff.  
> 
> Do you want my patch anyway (reverting what you have just applied), 
> or do we leave things as they are?

INVALID_HANDLE_VALUE is also used to initialize local variables.
I'd like to keep that value if you don't mind.

Thanks for the offer, though,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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