The strnlen issue on XP is related to its msvcrt.dll version.  Older
msvcrt versions don't provide this function as export.  But of course
you could use a local implementation for this function.

I cite here our generic implementation in ironCrate's for it:

size_t __cdecl
ic_strnlen (const char *s, size_t n)
{
  size_t i;

  for (i = 0; i < n && *s != 0; i++)
    ++s;

  return i;
}

Regards,
Kai

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to