rgb: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Mon Oct 27 09:57:52 PDT 2014
configure.ac | 3 +++
showrgb.c | 9 ++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
New commits:
commit 436c80aa9fe73824b6438934897c4f810e52f6e7
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Oct 25 11:04:57 2014 -0700
If opening argv[1] + ".txt" fails, try opening argv[1] without suffix
Previously, running "showrgb /usr/share/X11/rgb.txt" would give the
confusing error message:
showrgb: unable to open rgb database "/usr/share/X11/rgb.txt"
since it was really looking for rgb.txt.txt.
Now it just works, allowing users to use filename completion.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 3f1a7aac4b4c91e0d7b3c355b4148245ab8eb24d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Fri Oct 24 19:08:41 2014 -0700
Use asprintf() instead of malloc/strcpy/strcat, if its available
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Reviewed-by: Matthieu Herrb <matthieu at herrb.eu>
More information about the xorg-commit
mailing list