# HG changeset patch # User Kim F. Storm # Date 1021074966 0 # Node ID d32d2ad1b3154a91285633850605d467298d2712 # Parent c08c0064c649a4cb4681ad6c92b7c84049258680 *** empty log message *** diff -r c08c0064c649 -r d32d2ad1b315 src/ChangeLog --- 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 + + * 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 * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts.