forked from len0rd/rockbox
Fixed a regression caused in r30021: tagnavi_custom.config parsing
fails if lines ended with <CR><LF> sequence. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30058 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7ba8871d5b
commit
d0084ffd7a
4 changed files with 10 additions and 4 deletions
|
@ -170,7 +170,7 @@ bool warn_on_pl_erase(void)
|
|||
|
||||
/* Performance optimized version of the read_line() (see below) function. */
|
||||
int fast_readline(int fd, char *buf, int buf_size, void *parameters,
|
||||
int (*callback)(int n, const char *buf, void *parameters))
|
||||
int (*callback)(int n, char *buf, void *parameters))
|
||||
{
|
||||
char *p, *next;
|
||||
int rc, pos = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue