summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2002-01-24 20:19:59 +0000
committerBruno Haible <bruno@clisp.org>2009-06-22 01:08:16 +0200
commitcac7971dcf9e1329e212465c054fd01c12f50030 (patch)
tree785d359d69b533b9583d1fe15b8b8cea632950e0
parent5dfee45a4d4d9d7f62dfd6e04d414fc7696f2297 (diff)
downloadexternal_gettext-cac7971dcf9e1329e212465c054fd01c12f50030.zip
external_gettext-cac7971dcf9e1329e212465c054fd01c12f50030.tar.gz
external_gettext-cac7971dcf9e1329e212465c054fd01c12f50030.tar.bz2
Don't disable assert().
-rw-r--r--lib/ChangeLog4
-rw-r--r--lib/getline.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index 1a9d0c2..270c050 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,9 @@
2002-01-24 Bruno Haible <bruno@clisp.org>
+ * getline.c: Remove NDEBUG. It killed the effect of assert().
+
+2002-01-24 Bruno Haible <bruno@clisp.org>
+
* Makefile.am (libgettextlib_la_LDFLAGS): Use @LTLIBINTL@ instead of
@INTLLIBS@, and @LTLIBICONV@ instead of @LIBICONV@.
diff --git a/lib/getline.c b/lib/getline.c
index 02592b1..86bba0d 100644
--- a/lib/getline.c
+++ b/lib/getline.c
@@ -1,6 +1,6 @@
/* getline.c -- Replacement for GNU C library function getline
-Copyright (C) 1993, 1996, 2001 Free Software Foundation, Inc.
+Copyright (C) 1993, 1996, 2001, 2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -46,7 +46,6 @@ getline (lineptr, n, stream)
#else /* ! have getdelim */
-# define NDEBUG
# include <assert.h>
# if HAVE_STDLIB_H