[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] gl_FUNC_FREE is backwards
From: |
Andreas Schwab |
Subject: |
[Bug-gnulib] gl_FUNC_FREE is backwards |
Date: |
Thu, 20 May 2004 17:26:49 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
The autoconf test gl_FUNC_FREE is supposed to replace free if free(0) is
not known to work, but actually gets it backwards.
Andreas.
2004-05-20 Andreas Schwab <address@hidden>
* free.m4: Replace free if it not known to work, not the other
way round.
--- m4/free.m4 27 Sep 2003 18:13:49 +0200 1.1
+++ m4/free.m4 20 May 2004 17:18:17 +0200
@@ -35,7 +35,7 @@ AC_DEFUN([gl_FUNC_FREE],
[gl_cv_func_free=yes],
[gl_cv_func_free=no])])
- if test $gl_cv_func_free = yes; then
+ if test $gl_cv_func_free = no; then
AC_LIBOBJ(free)
AC_DEFINE(free, rpl_free,
[Define to rpl_free if the replacement function should be used.])
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- [Bug-gnulib] gl_FUNC_FREE is backwards,
Andreas Schwab <=