Re: [PATCH 3/5] Convert dmxSetDefaultFontPath to use strdup instead of malloc+strncpy

2011-10-29 Thread Jeremy Huddleston
For all of them, Reviewed-by: Jeremy Huddleston In this one, it looks like fp should be a (const char *) also. If you throw that in there in a followup patch, consider it r-b as well. On Oct 28, 2011, at 21:41, Alan Coopersmith wrote: > Signed-off-by: Alan Coopersmith > --- > hw/dmx/dmxinit.

[PATCH 3/5] Convert dmxSetDefaultFontPath to use strdup instead of malloc+strncpy

2011-10-28 Thread Alan Coopersmith
Signed-off-by: Alan Coopersmith --- hw/dmx/dmxinit.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/dmx/dmxinit.c b/hw/dmx/dmxinit.c index b950c50..9a60bf3 100644 --- a/hw/dmx/dmxinit.c +++ b/hw/dmx/dmxinit.c @@ -802,18 +802,15 @@ void InitOutput(ScreenInfo *p