[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/src keymap.c
From: |
Kim F. Storm |
Subject: |
[Emacs-commit] emacs/src keymap.c |
Date: |
Fri, 10 May 2002 19:57:15 -0400 |
CVSROOT: /cvs
Module name: emacs
Changes by: Kim F. Storm <address@hidden> 02/05/10 19:57:15
Modified files:
src : keymap.c
Log message:
(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.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/src/keymap.c.diff?tr1=1.259&tr2=1.260&r1=text&r2=text