libXt: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sun Jan 25 19:53:51 PST 2015


 configure.ac    |    8 ++++++--
 util/makestrs.c |   54 ++++++++++++++++++++++++++++++------------------------
 2 files changed, 36 insertions(+), 26 deletions(-)

New commits:
commit ca04f74887d53c75e794f643f7e860ba588c3a57
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 18 11:21:45 2015 -0800

    makestrs: Use asprintf() if available
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Hans de Goede <hdegoede at redhat.com>

commit fba83e45a8d5dc2ca920ec6c49446d2b54c2db5c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 18 10:58:08 2015 -0800

    makestrs: Replace strcpy()+strcat() calls with snprintf() calls
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Hans de Goede <hdegoede at redhat.com>

commit 47fa41960650dd0e97eb78de2af0f5fcd9323b35
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 18 10:43:11 2015 -0800

    makestrs: Replace malloc()+strcpy() calls with strdup() calls
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Hans de Goede <hdegoede at redhat.com>

commit f3e5903536f80cb42ee6841f85e013284eb4c2fc
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 18 10:27:42 2015 -0800

    makestrs: use strchr() instead of index()
    
    Besides being supported by more standards, strchr() has the important
    characteristic of having a prototype included in <string.h> on Solaris
    so that 64-bit compiles know it returns a pointer, not an integer.
    (On Solaris, index() is only found in <strings.h>, for SunOS compatibility.)
    
    Without this fix, makestrs segfaulted in 64-bit builds on Solaris after
    commit f9baaf55ff8cbd4bf018a34f181eda30d03b20dc switched to <string.h>.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Hans de Goede <hdegoede at redhat.com>

commit aed2c4d3493cf3a06ad1240f317552fd8bfd687a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jan 18 10:34:38 2015 -0800

    If CFLAGS_FOR_BUILD is not set, include CWARNFLAGS in default value
    
    Help catch errors like missing prototypes in makestrs sooner.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: Hans de Goede <hdegoede at redhat.com>



More information about the xorg-commit mailing list