forked from len0rd/rockbox
Added note about strtok() not being thread safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@478 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
27a153e421
commit
6904d1ad5c
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ DIR* opendir(char* name)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* fixme: strtok() is not thread safe, and fat_getnext() calls yield() */
|
||||
for ( part = strtok(name, "/"); part;
|
||||
part = strtok(NULL, "/") ) {
|
||||
int partlen = strlen(part);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue