From cac7971dcf9e1329e212465c054fd01c12f50030 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 24 Jan 2002 20:19:59 +0000 Subject: [PATCH] Don't disable assert(). --- lib/ChangeLog | 4 ++++ lib/getline.c | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.47.2