all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Dead code in process.c
@ 2003-09-25 16:30 Gaute B Strokkenes
  2003-09-27  0:28 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Gaute B Strokkenes @ 2003-09-25 16:30 UTC (permalink / raw)


This patch is a week or so old, but I expect it will still apply.

Index: process.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/process.c,v
retrieving revision 1.409
diff -u -r1.409 process.c
--- process.c	1 Sep 2003 15:45:56 -0000	1.409
+++ process.c	11 Sep 2003 02:25:42 -0000
@@ -4832,7 +4832,6 @@
     {
       int require = encoding_buffer_size (coding, len);
       int from_byte = -1, from = -1, to = -1;
-      unsigned char *temp_buf = NULL;
 
       if (BUFFERP (object))
 	{
@@ -4868,8 +4867,6 @@
 		     len, SBYTES (object));
       len = coding->produced;
       buf = SDATA (object);
-      if (temp_buf)
-	xfree (temp_buf);
     }
 
 #ifdef VMS

-- 
Gaute Strokkenes                        http://www.srcf.ucam.org/~gs234/
Why don't you ever enter any CONTESTS, Marvin??
 Don't you know your own ZIPCODE?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Dead code in process.c
  2003-09-25 16:30 Dead code in process.c Gaute B Strokkenes
@ 2003-09-27  0:28 ` Kenichi Handa
  0 siblings, 0 replies; 2+ messages in thread
From: Kenichi Handa @ 2003-09-27  0:28 UTC (permalink / raw)
  Cc: emacs-devel

In article <87brt8al06.fsf@srcf.ucam.org>, Gaute B Strokkenes <biggaute@uwc.net> writes:

> This patch is a week or so old, but I expect it will still apply.
> Index: process.c
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/src/process.c,v
> retrieving revision 1.409
> diff -u -r1.409 process.c
> --- process.c	1 Sep 2003 15:45:56 -0000	1.409
> +++ process.c	11 Sep 2003 02:25:42 -0000
> @@ -4832,7 +4832,6 @@
>      {
>        int require = encoding_buffer_size (coding, len);
>        int from_byte = -1, from = -1, to = -1;
> -      unsigned char *temp_buf = NULL;
[...]

Thank you.  I installed that change in CVS HEAD.

---
Ken'ichi HANDA
handa@m17n.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-27  0:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-25 16:30 Dead code in process.c Gaute B Strokkenes
2003-09-27  0:28 ` Kenichi Handa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.