This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: [patch] default homedir (was: Re: Problem withssh-keygen.exe.
- To: Chris Abbey <cabbey at bresnanlink dot net>, cygwin at cygwin dot com
- Subject: Re: [patch] default homedir (was: Re: Problem withssh-keygen.exe.
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 7 Dec 2000 07:38:11 -0800 (PST)
--- Chris Abbey <cabbey@bresnanlink.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@yahoo.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@sourceware.cygnus.com