Reorganizing internal_getlogin()

Christopher Faylor
Wed Jun 12 20:53:00 GMT 2002

On Wed, Jun 12, 2002 at 11:39:05PM -0400, Pierre A. Humblet wrote:
>At 11:30 PM 6/12/2002 -0400, Christopher Faylor wrote:
>>  I'm assuming that you haven't looked at
>>the new code.  
>Correct, I had already done the work and updating cvs
>would wipe out my changes (the suboptimal way I am set up). 
>But I will, tomorrow.
>>My implementation goes a step further and tries to set
>>it only when it is actually needed for non-cygwin programs, assuming
>>that only non-cygwin Windows programs will be interested in most of the
>>environment variables.
>That's a good thing. I am curious to see how. I was hitting the
>fact that once you are impersonated LookupAccountSid won't work properly,
>so spawn_guts was the latest moment I could use it.
>>Ah.  Ok.  Should have read your explanation more closely.  I was using a
>>different definition of "parent_process".  You want to check
>>child_proc_info, then.  If it is non-NULL, the process has been
>Which is exactly what I pass to uinfo_init!

It's a global variable!  It's used throughout cygwin!


More information about the Cygwin-patches mailing list