www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/06/12:30:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A2E1599.C2E57DB7@redhat.com>
Date: Wed, 06 Dec 2000 11:31:53 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
Reply-To: cygwin AT cygwin DOT com
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: [patch] default homedir (was: Re: Problem with ssh-keygen.exe.
References: <Pine DOT SOL DOT 3 DOT 91 DOT 1001205145615 DOT 26082A-100000 AT cse DOT cygnus DOT com> <5 DOT 0 DOT 0 DOT 25 DOT 0 DOT 20001205233111 DOT 027a5eb0 AT pop DOT bresnanlink DOT net>

Chris Abbey wrote:
> I made a change that impacts 9x/Me which I can't test, can someone
> confirm that please? It's not a major functional change, just an
> implementation detail (chunk eight). It also looks like the diff
> tool undid my formatting adjustment in the usage text when I used
> the -b switch, unfortunately without that the crazy mixed indenting
> drove it nuts and it looked like I had changed about 1/3 of the file.
> I can try to provide a separate patch for that if you want.
> 
> Tue Dec  5 23:32:06 2000  Chris Abbey <cabbey AT bresnanlink DOT net>
> 
>          * mkpasswd.c: make default home directory /home/$user if one
>              can't be found in user registry. Allow user to override
>              that with command line arg.
> [...]

Chris,

I have a major problem with your patch. I can't apply it since you
seem to have attached it to your mail using copy-paste. The indenting
is broken and it contains unmotivated line breaks so patch doesn't
accept this as input.

Could you please create the diff as a file and attach it to your mail?

But your patch looks good. However, I would like to ask for some changes:

   if (strlen(foo) == 0)

instead of

   if (0 == strlen(foo))

and please keep the indentation of the printf's. So in the printf in
chunk eight please use

> -                                                name);
> +                                                passed_home_path,
> +                                                name);

instead of

> -                                                name);
> +                         passed_home_path, name);

The latter looks a bit strange. Did you use tabs of four chars or the
like?

I'm looking forward to your patch,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
mailto:vinschen AT redhat DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019