changeset 57290:4c8d475555b9

*** empty log message ***
author Kenichi Handa <handa@m17n.org>
date Wed, 29 Sep 2004 23:51:34 +0000
parents 6ec3eb824d9a
children e8e791d1e987
files src/ChangeLog src/callproc.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Sep 29 23:51:09 2004 +0000
+++ b/src/ChangeLog	Wed Sep 29 23:51:34 2004 +0000
@@ -8,7 +8,7 @@
 	compositions to encode.
 	(encode_coding_string): Likewise.  Free composition data.
 
-2004-09-30  Florian Weimer <fw@deneb.enyo.de>	
+2004-09-30  Florian Weimer <fw@deneb.enyo.de>	(tiny change)
 
 	* coding.c (code_convert_region): Free composition data.
 
--- a/src/callproc.c	Wed Sep 29 23:51:09 2004 +0000
+++ b/src/callproc.c	Wed Sep 29 23:51:34 2004 +0000
@@ -807,6 +807,8 @@
 		  {
 		    detect_coding (&process_coding, bufptr, nread);
 		    if (process_coding.composing != COMPOSITION_DISABLED)
+		      /* We have not yet allocated the composition
+			 data because the coding type was undecided.  */
 		      coding_allocate_composition_data (&process_coding, PT);
 		  }
 		if (process_coding.cmp_data)