Skip to contentSkip to conversation

glibcism in src/skins/posix/thread.c

PATCH Fillod Stephane 1 participant 1 message Apr 2, 2008

lore
Share & tools
lore
#0 lore raw

Gilles Chanteperdrix wrote:
[...]

Quoted 5 lines

Already fixed in trunk, forgot to apply the patch to the v2.4.x branch. Note that your patch is slightly incorrect:
- it runs strstr in an uninitialized string;
- the result on platforms without _CS_GNU_LIBPTHREAD_VERSION is linuxthreads == 0 whereas we really want linuxthreads == 1.

Gasp, see the code zombie I am :/ I did not even tried to understand the code, just wanted it to compile since I wasn't using this skin for this project.

Thanks for the fix!

Signature · 1 line
Stephane