1
0
Fork 0
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:
Miika Pekkarinen 2011-06-23 20:22:00 +00:00
parent 7ba8871d5b
commit d0084ffd7a
4 changed files with 10 additions and 4 deletions

View file

@ -57,7 +57,7 @@ bool warn_on_pl_erase(void);
*/
int read_line(int fd, char* buffer, int buffer_size);
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));
bool settings_parseline(char* line, char** name, char** value);
long default_event_handler_ex(long event, void (*callback)(void *), void *parameter);