On 11/20/11 13:01, Keith Packard wrote:
On Tue, 08 Nov 2011 19:47:13 -0800, Alan 
Coopersmith<[email protected]>  wrote:

        Add fallback implementation of strndup()

The test code doesn't build on Linux. Here's a patch which seems to
help -- you can't use the 'strndup' name with glibc; it's got magic for
that these days...

diff --git a/test/string.c b/test/string.c
index 42a5e9c..e3a5adb 100644

Thanks, I'll squash that into my patch.


        Convert strncpy/strncat to strlcpy/strlcat

This breaks the DMX build; I tried to fix this and failed...

I can build Xdmx fine here, but then I'm on an OS with the strl*
functions in libc.   I see that hw/dmx/config/xdmxconfig gets
built with the functions, but doesn't link against the fallback
code from os/strl*.c - I'll work on fixing that.

--
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to