xhost: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Sat Feb 23 09:51:47 PST 2013
configure.ac | 2 --
xhost.c | 53 +++++++++--------------------------------------------
2 files changed, 9 insertions(+), 46 deletions(-)
New commits:
commit 01433c7bdd169ae8a59ffe79842de55e318bc3b8
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 09:40:22 2013 -0800
Fix some integer sign/size conversion warnings flagged by clang
xhost.c:154:19: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < FAMILIES; i++)
~ ^ ~~~~~~~~
xhost.c:310:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
namelen = strlen(name);
~ ^~~~~~~~~~~~
xhost.c:311:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if ((lname = (char *)malloc(namelen+1)) == NULL) {
~~~~~~ ~~~~~~~^~
xhost.c:707:46: warning: implicit conversion changes signedness: 'int' to 'socklen_t' (aka 'unsigned int') [-Wsign-conversion]
getnameinfo((struct sockaddr *) &saddr, saddrlen, inetname,
~~~~~~~~~~~ ^~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 59da6b7438ab624593fe4ce52a402755cce25b12
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 08:50:29 2013 -0800
Convert sprintf to snprintf in SECURE_RPC code
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit a9218c958e992adb727ea5fe45cb04f9ba611de1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 08:45:48 2013 -0800
Move dpy declaration from static to main() function
Fixes gcc warnings:
xhost.c:290: warning: declaration of 'dpy' shadows a global declaration
xhost.c:160: warning: shadowed declaration is here
xhost.c:839: warning: declaration of 'dpy' shadows a global declaration
xhost.c:160: warning: shadowed declaration is here
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit a3f0c2a060f30259dc3830ea8165be15f2aeae75
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 08:38:57 2013 -0800
Assume signal handlers return void, as C89 requires
Drops use of autoconf's obsolete AC_TYPE_SIGNAL and the even more
obsolete Imake SIGNALRETURNSINT.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 3911e16aa570ca0709b50727c82df421f1401bd7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 08:35:24 2013 -0800
unifdef -UBAD_ARPAINET
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 0a09ff485babcf0d3087b1710f1151bb60ed9263
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 08:34:29 2013 -0800
unifdef -Uatt
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit f4ba8fcd272878dcc4a0994640a9457624d899ea
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 08:33:55 2013 -0800
unifdef -ULynx
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 830ce053ff5e4f3175bfa59539536b72a847739c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Feb 23 08:33:04 2013 -0800
unifdef -UCRAY
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list