changeset 45234:d32d2ad1b315

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Fri, 10 May 2002 23:56:06 +0000
parents c08c0064c649
children 66271fa0bf60
files src/ChangeLog
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri May 10 19:18:53 2002 +0000
+++ b/src/ChangeLog	Fri May 10 23:56:06 2002 +0000
@@ -1,3 +1,12 @@
+2002-05-11  Kim F. Storm  <storm@cua.dk>
+
+	* keymap.c (current_minor_maps): Fixed resizing of cmm_maps;
+	only update cmm_size if realloc actually succeeds.
+	Testing with initial size of 2 elements revealed that using
+	realloc on GNU/Linux would cause a random trap in xmalloc
+	later on, so I rewrote the code to use malloc/bcopy/free instead
+	of realloc.
+
 2002-05-10  Jason Rumney  <jasonr@gnu.org>
 
 	* w32fns.c (enum_font_cb2): Avoid DBCS raster fonts.