From: Bruno Haible Date: Thu, 24 Jan 2002 20:19:59 +0000 (+0000) Subject: Don't disable assert(). X-Git-Tag: v0.11~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cac7971dcf9e1329e212465c054fd01c12f50030;p=thirdparty%2Fgettext.git Don't disable assert(). --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 1a9d0c27f..270c05094 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2002-01-24 Bruno Haible + + * getline.c: Remove NDEBUG. It killed the effect of assert(). + 2002-01-24 Bruno Haible * Makefile.am (libgettextlib_la_LDFLAGS): Use @LTLIBINTL@ instead of diff --git a/lib/getline.c b/lib/getline.c index 02592b1a0..86bba0d09 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 # if HAVE_STDLIB_H