Re: passwd edited /etc/passwd patch

2002-06-14 Thread Corinna Vinschen
On Thu, Jun 13, 2002 at 09:04:11PM -0700, Joshua Daniel Franklin wrote: --- Corinna Vinschen [EMAIL PROTECTED] wrote: On Tue, Jun 11, 2002 at 08:18:15PM -0500, Joshua Daniel Franklin wrote: + /* Try getting a Win32 username in case the user edited /etc/passwd */ + if (ret ==

Re: passwd edited /etc/passwd patch

2002-06-13 Thread Corinna Vinschen
On Tue, Jun 11, 2002 at 08:18:15PM -0500, Joshua Daniel Franklin wrote: + /* Try getting a Win32 username in case the user edited /etc/passwd */ + if (ret == NERR_UserNotFound) + { +if ((pw = getpwnam (user))) + cygwin_internal (CW_EXTRACT_DOMAIN_AND_USER, pw, domain, (char *)

Re: passwd edited /etc/passwd patch

2002-06-13 Thread Joshua Daniel Franklin
--- Corinna Vinschen [EMAIL PROTECTED] wrote: On Tue, Jun 11, 2002 at 08:18:15PM -0500, Joshua Daniel Franklin wrote: + /* Try getting a Win32 username in case the user edited /etc/passwd */ + if (ret == NERR_UserNotFound) + { +if ((pw = getpwnam (user))) + cygwin_internal

passwd edited /etc/passwd patch

2002-06-11 Thread Joshua Daniel Franklin
Here is that patch for passwd.c to deal with user-edited /etc/passwd files. I poked around about adding the CW_EXTRACT_DOMAIN_AND_USER then did a CVS update and Corinna already had done it. Sorry for the delay, I apparently haven't been paying attention for more than a week... ChangeLog: