Commit f321630f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix vlc_readdir() on non-UTF-8 POSIX systems for now

parent 9eb2f121
...@@ -211,7 +211,7 @@ char *vlc_readdir( DIR *dir ) ...@@ -211,7 +211,7 @@ char *vlc_readdir( DIR *dir )
errno = val; errno = val;
else if (ent != NULL) else if (ent != NULL)
#ifndef __APPLE__ #ifndef __APPLE__
path = strdup (ent->d_name); path = FromLocaleDup (ent->d_name);
#else #else
path = FromCharset ("UTF-8-MAC", ent->d_name, strlen (ent->d_name)); path = FromCharset ("UTF-8-MAC", ent->d_name, strlen (ent->d_name));
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment