On Tue, Mar 21, 2006 at 07:32:39PM +0100, Andreas Schwab wrote: > Olof Johansson <olof at lixom.net> writes: > > > Why iterate over the string twice? Why not do > > for (..; i < n && src[n]; ...) > > ITYM i < n && src[i]. Doh, right. -Olof