Reorganizing internal_getlogin() patch is in

Christopher Faylor cgf@redhat.com
Sat Jun 15 22:21:00 GMT 2002


On Sun, Jun 16, 2002 at 01:15:06AM -0400, Christopher Faylor wrote:
>>In env_userprofile () I don't understand why the last two conditions
>>are useful in:
>>  if (strcasematch (name (), "SYSTEM") || !env_domain () || !env_logsrv ())
>>The domain should never be NULL, and the logserver only NULL for SYSTEM.
>
>The domain can be NULL if LookupAccountSid fails.  get_logon_server can
>fail, also.  Certainly it makes sense to fail gracefully, no?

Nevermind.  I realized what you meant 2 seconds after hitting 'y'.  I'll nuke
these tests.

cgf



More information about the Cygwin-patches mailing list