libX11: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Tue Jan 5 17:24:48 PST 2016
src/xlibi18n/XDefaultIMIF.c | 3 -
src/xlibi18n/XDefaultOMIF.c | 73 +++++++++-----------------------------------
src/xlibi18n/XlcDL.c | 22 ++++++-------
src/xlibi18n/lcPubWrap.c | 3 -
4 files changed, 29 insertions(+), 72 deletions(-)
New commits:
commit 43ba0a68d3d17b496ec1f48d44921122ddd7d7d9
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 19 18:03:41 2015 -0800
lcPubWrap: replace malloc(strlen) + strcpy with strdup
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
commit 6fc95cb12b70c5a67cb4fc5e5749f9f1ec741e2a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 19 10:21:04 2015 -0800
XlcDL.c: reduce code duplication
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
commit f7ecc0856be58608881d2086954cb71857ad64e1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 19 10:19:25 2015 -0800
XlcDL.c: replace strcpy+strcat sequences with snprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
commit 522989b34398bd6a6ea144c4af0ba69d6dc4faea
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 19 10:05:42 2015 -0800
XDefaultOMIF: Remove comments referring to ancient Sun bug ids
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
commit b738a104ae80e4270dd1d215ad0c6a80016982c2
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 19 10:00:22 2015 -0800
XDefaultOMIF: additional code simplification
Don't need to test for a case that we already returned for, don't need
to store a count that will only ever be 1 if we didn't return, don't
need to increment pointers to allow storing more than one item when we
can only ever possibly do one.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
commit 31011cf100419269eae7409581c784638be503cf
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 19 09:46:31 2015 -0800
XDefaultOMIF: replace strlen+Xmalloc+strcpy with strdup
Code seems to have been originally written to handle appending multiple
strings, but only ever operates on a single string.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
commit c27c46d5e22bbf60fb5608eaabe584b7fdeb0b09
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 19 09:20:55 2015 -0800
Use strdup instead of Xmalloc+strcpy in _XDefaultOpenIM
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Adam Jackson <ajax at redhat.com>
More information about the xorg-commit
mailing list