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:[EMAIL PROTECTED] Red Hat, Inc.