Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 31 Jan 2002 13:43:55 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [PATCH suggestion] mkpasswd: was "Re: Fw: After new install, start in /usr/bin/{myname} not in /home/{myname}" Message-ID: <20020131134355.R11608@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <062201c1a77a$d9afa460$0200a8c0 AT lifelesswks> <3C59141E DOT 9080504 AT syntrex DOT com> <3C592D9A DOT 8080503 AT syntrex DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C592D9A.8080503@syntrex.com> User-Agent: Mutt/1.3.22.1i On Thu, Jan 31, 2002 at 12:42:18PM +0100, Pavel Tsekov wrote: > > > 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. You're right. I've checked in a patch. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/