Rockbox mail archiveSubject: Re: cvs: apps settings.c,1.67,1.68
From: Magnus Holmgren (lear_at_algonet.se)
Björn Stenberg wrote:
> Yes. I removed that, since I think it should rather be
Though it's limited what can be handled there... :)
> It null terminates, unless the string was completely
I dislike strncpy for that very reason.
Another read_line thing: a line consisting of nothing but a line feed returns 0, breaking the read... That's why I made read_line return true if something had been read.
Page was last modified "Jan 10 2012" The Rockbox Crew