SymbiSoft / mosync

Automatically exported from code.google.com/p/mosync
0 stars 0 forks source link

strtok() bug and fix #1150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
strtok() will only give one token, strtok_r() is working fine.

Fix:
mastring.c line ~479 add static:
static char* dummy;

Please provide any additional information below.
Mosync 2.8

Original issue reported on code.google.com by j...@binarybone.com on 3 Nov 2011 at 7:34

GoogleCodeExporter commented 8 years ago
We will check this and see if this fix can be added.  Thanks for the fix.  Very 
much appreciated.

Original comment by miles.mi...@mobilesorcery.com on 17 Nov 2011 at 10:11

GoogleCodeExporter commented 8 years ago
Patch applied.

Original comment by fredrik....@mobilesorcery.com on 17 Nov 2011 at 11:48