GNU bug report logs - #7838
24.0.50; warning in lib-src/emacsclient.c:1235 in Mac OS X

Previous Next

Packages: ns, emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Thu, 13 Jan 2011 22:17:02 UTC

Severity: minor

Tags: patch

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 7838 <at> debbugs.gnu.org (full text, mbox):

From: Peter Dyballa <Peter_Dyballa <at> Web.DE>
To: Samuel Bronson <naesten <at> gmail.com>
Cc: 7838 <at> debbugs.gnu.org
Subject: Re: bug#7838: 24.0.50;
	warning in lib-src/emacsclient.c:1235 in Mac OS X
Date: Fri, 22 Jun 2012 22:58:35 +0200
Am 18.06.2012 um 04:58 schrieb Samuel Bronson:

> The fix is simple:
> 
> === modified file 'lib-src/emacsclient.c'
> --- lib-src/emacsclient.c	2012-05-05 04:32:58 +0000
> +++ lib-src/emacsclient.c	2012-06-17 18:00:58 +0000
> @@ -1278,7 +1278,7 @@
>            if (n > 0)
>              {
> 		tmpdir = tmpdir_storage = xmalloc (n);
> -                confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n);
> +                confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir_storage, n);
>              }
>            else
> #endif


It indeed works!

--
Greetings

 Pete

Atheism is a non prophet organisation.





This bug report was last modified 13 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.