libX11: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Fri Mar 8 19:30:44 PST 2013


 src/PropAlloc.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit e9bd757630368afb374c5d1bcc5d4d85ad3c6c4c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Mar 8 15:37:33 2013 -0800

    XAllocClassHint: Assume calloc sets pointers in allocated memory to NULL
    
    While the C standard technically allows for the compiler to translate
    pointer = 0 or pointer = NULL into something other than filling the
    pointer address with 0 bytes, the rest of the Xlib code already assumes
    that calloc initializes any pointers in the struct to NULL, and there
    are no known systems supported by X.Org where this is not true.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list