[Mesa-dev] Mesa (master): glapi: s/strcpy/strncpy/
Marek Olšák
maraeo at gmail.com
Mon May 3 15:21:02 PDT 2010
On Tue, May 4, 2010 at 12:09 AM, Brian Paul <brianp at vmware.com> wrote:
> My guess is that the code GCC actually generates for both versions (the
>> original and the memcpy version) is pretty close to identical. At -O0,
>> the memcpy version should be smaller / faster / have better stickers.
>>
>> In this particular case, why aren't we just using the system strdup?
>> Are there really still platforms that don't include it?
>>
>
> IIRC, Windows.
>
I think MSVC has had _strdup (with the underscore) since VC++ 6.0.
-Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20100504/83779c8a/attachment.html>
More information about the mesa-dev
mailing list