From 6904d1ad5cbbfb114e9996810c09f9c58603a1fd Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 6 May 2002 15:05:17 +0000 Subject: Added note about strtok() not being thread safe git-svn-id: svn://svn.rockbox.org/rockbox/trunk@478 a1c6a512-1295-4272-9138-f99709370657 --- firmware/common/dir.c | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/common') diff --git a/firmware/common/dir.c b/firmware/common/dir.c index d550bedcbd..66262ef392 100644 --- a/firmware/common/dir.c +++ b/firmware/common/dir.c @@ -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); -- cgit v1.2.3