Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 21:50:53 -0800
From:      Michael Sierchio <ducatista@camber-thrust.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        lioux@freebsd.org
Subject:   Re: FreeBSD Port: qmail-1.03_3
Message-ID:  <41F72FBD.2040906@camber-thrust.net>
In-Reply-To: <1106704507.16118.14.camel@shumai.marcuscom.com>
References:  <41F6F431.6060005@tenebras.com> <1106704507.16118.14.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Marcus Clarke wrote:

>>-     while ((k > i) && (cmds.s[k - 1] == ' ') || (cmds.s[k - 1] == '\t'))

> Actually, if k is less than or equal to i and cmds.s[k-1] is a tab, then
> the first bit of code evaluates to true

if k is less than or equal to i, none of the rest of the statements
are evaluated.

They don't make C programmers like they used to!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F72FBD.2040906>