This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH suggestion] mkpasswd: was "Re: Fw: After new install, start in /usr/bin/{myname} not in /home/{myname}"




Pavel Tsekov wrote:

> Hello, Robert :)
> 
> I've just tracked this problem. Here is what I've found:
> 
> First of all the problem will appear on Win9x/ME only.
> In version 1.18 of mkpasswd.c the following change was
> made:
> 
> -
> -  if (passed_home_path[0] == '\0')
> -      strcpy (passed_home_path, "/home/");
> 
>    /* This takes Windows 9x/ME into account. */
>    if (GetVersion () >= 0x80000000)



I think that to revert back to the old (good) behaviour
with no side effect, one could just get the removed lines
i've pasted and put them inside the "if (GetVersion () >= 0x80000000)" 
block.

Btw atm the mkpasswd utiliti is not usable without the
-p option on Win9x/ME.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]