changeset 90190:d8a6a0474c49

(Fcall_process): Sync with the change in HEAD (2005-06-04).
author Kenichi Handa <handa@m17n.org>
date Mon, 06 Jun 2005 04:18:18 +0000
parents 6141b4c28957
children c766b49f5bbd
files src/callproc.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Mon Jun 06 03:26:08 2005 +0000
+++ b/src/callproc.c	Mon Jun 06 04:18:18 2005 +0000
@@ -783,11 +783,11 @@
 	      insert_1_both (buf, nread, nread, 0, 1, 0);
 	    else
 	      {			/* We have to decode the input.  */
-		Lisp_Object buf;
+		Lisp_Object curbuf;
 
-		XSETBUFFER (buf, current_buffer);
-		decode_coding_c_string (&process_coding, bufptr, nread,
-					buf);
+		XSETBUFFER (curbuf, current_buffer);
+		decode_coding_c_string (&process_coding, buf, nread,
+					curbuf);
 		if (display_on_the_fly
 		    && CODING_REQUIRE_DETECTION (&saved_coding)
 		    && ! CODING_REQUIRE_DETECTION (&process_coding))
@@ -819,7 +819,7 @@
 		if (carryover > 0)
 		  /* As CARRYOVER should not be that large, we had
 		     better avoid overhead of bcopy.  */
-		  BCOPY_SHORT (process_coding.carryover, bufptr,
+		  BCOPY_SHORT (process_coding.carryover, buf,
 			       process_coding.carryover_bytes);
 	      }
 	  }