Date: Mon, 25 Oct 2004 10:50:27 GMT From: Oleg Sharoiko <os@rsu.ru> To: gnome@FreeBSD.org Subject: Re: ports/73089: [patch] libxklavier returns pointer to static memory where dynamic is expected Message-ID: <200410251050.i9PAoRnr076857@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/73089; it has been noted by GNATS. From: Oleg Sharoiko <os@rsu.ru> To: freebsd-gnats-submit@FreeBSD.org, os@rsu.ru Cc: Subject: Re: ports/73089: [patch] libxklavier returns pointer to static memory where dynamic is expected Date: Mon, 25 Oct 2004 14:44:16 +0400 --=-hmDPtCA0g9vyD/BISAED Content-Type: text/plain Content-Transfer-Encoding: 7bit It looks like the link is broken. I'm attaching a patch with this mail. -- Oleg Sharoiko. Software and Network Engineer Computer Center of Rostov State University. --=-hmDPtCA0g9vyD/BISAED Content-Description: Content-Disposition: attachment; filename=libxklavier.diff Content-Type: text/x-patch; charset=KOI8-R Content-Transfer-Encoding: 7bit diff -urN libxklavier.org/files/patch-libxklavier-xklavier_config_i18n.c libxklavier/files/patch-libxklavier-xklavier_config_i18n.c --- libxklavier.org/files/patch-libxklavier-xklavier_config_i18n.c Thu Jan 1 03:00:00 1970 +++ libxklavier/files/patch-libxklavier-xklavier_config_i18n.c Mon Oct 25 14:13:53 2004 @@ -0,0 +1,11 @@ +--- libxklavier/xklavier_config_i18n.c.orig Sat Oct 23 14:37:21 2004 ++++ libxklavier/xklavier_config_i18n.c Sat Oct 23 14:37:40 2004 +@@ -148,7 +148,7 @@ + + iconv_close( converter ); + +- return converted; ++ return strdup(converted); + } + + /* --=-hmDPtCA0g9vyD/BISAED--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410251050.i9PAoRnr076857>