xdpyinfo: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Fri Jan 25 13:57:30 PST 2013
configure.ac | 2 +-
man/xdpyinfo.man | 5 +++++
xdpyinfo.c | 18 +++++++++++-------
3 files changed, 17 insertions(+), 8 deletions(-)
New commits:
commit 97db6f80f06b753c84de0276db093205ee34b0b0
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jan 21 23:15:04 2013 -0800
Add xrandr to SEE ALSO section of man page
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 1b9a3d5459f61abf6285df81e4a75cb472e2a40c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jan 21 23:13:03 2013 -0800
Add -version option to print version number
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 27c57ec56abbd175c7a3ea7c50d85e91e1940c87
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jan 21 23:08:43 2013 -0800
Combine usage messages into a single string
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit f407231c855bc0349d0f8543a9dfe9dff4b2508b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jan 21 23:03:48 2013 -0800
Declare 'len' as size_t to avoid unneccessary back-and-forth conversions
Fixes clang warnings:
xdpyinfo.c:1463:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
int len = strlen(arg);
~~~ ^~~~~~~~~~~
xdpyinfo.c:1465:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
if (!strncmp("-display", arg, len)) {
~~~~~~~ ^~~
xdpyinfo.c:1468:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
} else if (!strncmp("-queryExtensions", arg, len)) {
~~~~~~~ ^~~
xdpyinfo.c:1470:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
} else if (!strncmp("-ext", arg, len)) {
~~~~~~~ ^~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit ee596f7f67b203d04974fce16deadfcd122d0441
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Mon Jan 21 23:02:57 2013 -0800
Mark usage() as _X_NORETURN
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list