summaryrefslogtreecommitdiff
path: root/src/command.c
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>2000-09-01 22:14:17 +0000
committerMichael Jennings <mej@kainx.org>2000-09-01 22:14:17 +0000
commite1573e95c8c404bc9048d36544b734bc689814ec (patch)
treec614d06b3bcb4795c1cfd5dca75a8bf7bb5aca07 /src/command.c
parentf1bf2bfb5431d3ec845f297eb8d085c7c7653278 (diff)
downloadeterm-e1573e95c8c404bc9048d36544b734bc689814ec.tar.gz
Fri Sep 1 15:25:28 PDT 2000 Michael Jennings <mej@eterm.org>
Okay, everything seems hunky-dorey now. If you have memory debugging turned on, exiting Eterm will give a dump of the leftover allocated memory including where it came from and how much there is. You'll also get a listing of all the remaining Pixmap ID's and GC ID's along with where they were created. I also added some macros to the debugging stuff in libmej.h so that if you pass the --without-debugging option to ./configure, it will optimize out all the ASSERT and REQUIRE goop. This will make it harder to trap bugs before they cause problems, so don't do it if you want to help development, but if speed is critical to you, give it a shot. SVN revision: 3294
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index c086aa0..f75131b 100644
--- a/src/command.c
+++ b/src/command.c
@@ -2736,7 +2736,7 @@ v_writeBig(int f, char *d, int len)
}
if (v_bufend < v_bufptr + len) {
/* still won't fit: get more space */
- /* Don't use Xtlibmej_realloc because an error is not fatal. */
+ /* Don't use XtRealloc because an error is not fatal. */
int size = v_bufptr - v_buffer; /* save across realloc */
v_buffer = REALLOC(v_buffer, size + len);