[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 ge
From: |
Miles Bader |
Subject: |
Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic] |
Date: |
Sun, 6 Oct 2002 02:53:55 -0400 |
User-agent: |
Mutt/1.3.28i |
On Sat, Oct 05, 2002 at 10:31:07PM -0700, Ami Fischman wrote:
> - The keys were being xmalloc'ed (unnecessarily) and then leaked. Instead
> each of the wrapper functions now has a static buffer (of a #define'able
> size) to store the transient keys.
Note that you could also use `alloca', which is almost as cheap as a static
buffer, and doesn't require you to free anything.
-Miles
--
P.S. All information contained in the above letter is false,
for reasons of military security.
- [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Ami Fischman, 2002/10/05
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Miles Bader, 2002/10/05
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Ami Fischman, 2002/10/06
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Ami Fischman, 2002/10/06
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Stefan Monnier, 2002/10/07
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Ami Fischman, 2002/10/07
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Stefan Monnier, 2002/10/07
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Ami Fischman, 2002/10/07
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Jan D., 2002/10/07
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Jan D., 2002/10/07
- Re: [patch] cache color info for remote X sessions [Was: Emacs 21/X11 generating unbelieveable network traffic], Stefan Monnier, 2002/10/07