[PULL v2] string handling, unit test & Solaris fixes

Keith Packard keithp at keithp.com
Thu Nov 24 11:30:34 PST 2011


On Tue, 08 Nov 2011 19:47:13 -0800, Alan Coopersmith <alan.coopersmith at oracle.com> wrote:

> Alan Coopersmith (32):
>        Don't fallback to wsfb or fbdev on Solaris
>        Don't require ld -wrap for tests that don't need it
>        Enable memory checking during unit testing
>        Remove a couple Error() instances left behind by 09dbfcb0ad7b6c8
>        Fix Sun compiler check that got turned around
>        Add fallback implementation of strndup()
>        Convert some malloc + strncpy pairs into strndup calls
>        Convert AllocXTestDevice to use asprintf
>        Convert strncpy/strncat to strlcpy/strlcat
>        matchDriverFromFiles: use one snprintf instead of strncpy/cat series
>        Convert dmxSetDefaultFontPath to use strdup instead of malloc+strncpy
>        Convert DetermineClientCmd to use strdup instead of malloc+strncpy
>        Convert ProcRenderQueryFilters to use memcpy instead of strncpy
>        Make XIGetKnownProperty take a const char * argument
>        Remove unnecessary variable rtrn in XkbKeysymText
>        AuthAudit: clean up string handling calls
>        LogVMessageVerb: Fix const mismatch warning
>        Convert glx/single2.c:DoGetString() to use asprintf()
>        Remove bad code from DoShowOptions (Xorg -showopts handler)
>        Move DoShowOptions to xf86Configure.c, delete xf86ShowOpts.c
>        Remove xf86FormatPciBusNumber from API, inline the one place its used
>        Convert a bunch of sprintf to snprintf calls
>        Reduce unnecessary string copying in xkbtext routines
>        Mark arguments to fopen/popen/system wrappers as const char *
>        Mark XKB char * as const to clean up gcc -Wwrite-strings warnings
>        sun_agp: cast key to uintptr_t before casting to (int *)
>        Remove redundant redeclarations of functions in the same header file
>        Fix gcc -Wwrite-strings warnings in XkbGetRulesDflts
>        Fix gcc -Wwrite-strings warnings in various extensions
>        FindModule: stop copying const char *dirname to char *dirpath
>        Fix gcc -Wwrite-strings warnings in xf86 ddx
>        Fix gcc -Wwrite-strings warnings in xf86Modes code
> 
> Jeremy Huddleston (1):
>        dmx: Build fix for -Werror=implicit-function-declaration

Merged.
   7b0f53f..f405dff  master -> master

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20111124/b2c34849/attachment.pgp>


More information about the xorg-devel mailing list