delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/07/10:39:35

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: <20001207153811.2387.qmail@web115.yahoomail.com>
Date: Thu, 7 Dec 2000 07:38:11 -0800 (PST)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: [patch] default homedir (was: Re: Problem withssh-keygen.exe.
To: Chris Abbey <cabbey AT bresnanlink DOT net>, cygwin AT cygwin DOT com
MIME-Version: 1.0

--- Chris Abbey <cabbey AT bresnanlink DOT net> wrote:
> At 11:32 12/7/00 +0100, Corinna Vinschen wrote:
> >Personally I like   if (!strlen (foo))   much more.
> 
> the only reason I don't code that way is that this treats
> an integer as a boolean. it is, imho, sloppy code.
> 

I don't find this "sloppy code" at all.  In fact I would automatically do it
this way as it is faster to do bit boolean than byte/word comparison.  GCC
optimizations probably make it a mute point but I've been around for a long
time and not all compilers are as good.

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.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