Name aliasing in

Corinna Vinschen
Thu Jun 6 07:25:00 GMT 2002

On Thu, Jun 06, 2002 at 10:07:46AM -0400, Pierre A. Humblet wrote:
> Corinna Vinschen wrote:
> > 
> > On Wed, Jun 05, 2002 at 08:23:59PM -0400, Pierre A. Humblet wrote:
> > > I saw the changes in and where you make default
> > > entries from the token. That's a good idea, very close to what I had
> > > in mind for the "except" clause" in suggestion c) above.
> Corinna,
> Something came to my mind last night: the sid that your new code in
> gets from the token should already be in user.sid (and 
> user.orig_sid). Why not get it from there instead?

You're right but it doesn't matter since I have to open the token
anyway since I need the primary group which isn't available at that

> I also have a question: why does internal Cygwin code use 
> strcasematch() instead of !strcasecmp()? I (ignorantly) used
> strcasecmp() recently, it seems to work.

It's faster than strcasecmp.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

More information about the Cygwin-patches mailing list