xfwp: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Mon Nov 28 20:50:26 PST 2011
io.c | 55 ++++++++++++++--------------
misc.c | 116 +++++++++++++++++++++---------------------------------------
misc.h | 4 --
pm.c | 13 +++---
transport.c | 6 +--
xfwp.c | 6 ++-
xfwp.h | 2 -
7 files changed, 83 insertions(+), 119 deletions(-)
New commits:
commit 77511a82b1efe2ecde013b3f20ff71605aa61971
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Nov 19 00:55:38 2011 -0800
Remove Malloc wrapper and its MallocFailed helper
Only two calls left, one of which was already checking for failure.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 3570de4c260cf45d202e3577d13385d722d043d1
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Nov 19 00:49:52 2011 -0800
Replace many malloc(strlen)+strcpy calls with strdup calls
Some used local Malloc wrapper that checked for a NULL return and
exited, so had to add matching checks for strdup returning NULL.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit c6b02069954ef83f8766d6a157b0a95939523d32
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Nov 19 00:30:44 2011 -0800
Remove unnecessary Realloc wrapper
The one caller already checks for and handles failure, so having a
wrapper that just adds another check for allocation failure isn't
useful.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit c44cb256ce8660c9d529374b7596531dad1a5376
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Nov 19 00:08:18 2011 -0800
Remove a bunch of unnecessary casts with malloc, free & memcpy calls
With modern compilers and headers, they cause more problems than they
solve and just hide real issues.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list