On 1 March 2010 09:39, Christian Costa titan.costa@wanadoo.fr wrote:
Still not quite right, I'm afraid. For example, the following doesn't work:
while (i < size)
{
/* Find end of line */
while ((str[i] != 0) && (str[i] != 0x0a))
i++;
How does something like the attached patch work (untested)?