[PATCH 8/11] powerpc: Add strne2a() to convert a string from EBCDIC to ASCII

Olof Johansson olof at lixom.net
Wed Mar 22 05:43:58 EST 2006


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



More information about the Linuxppc-dev mailing list