[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Remove the last dependency on the "free" module.
From: |
Jim Meyering |
Subject: |
[PATCH] Remove the last dependency on the "free" module. |
Date: |
Sun, 02 Mar 2008 21:04:30 +0100 |
Bob Proulx noticed that the buildbot was failing.
Thanks again, Bob!
Here's the fix:
diff --git a/ChangeLog b/ChangeLog
index 29dc04a..9573a79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-03-02 Jim Meyering <address@hidden>
+ Remove the last dependency on the "free" module.
+ * m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE.
+ Reported by Bob Proulx.
+
* lib/getdelim.c (getdelim): Don't leak memory upon failed realloc.
Remove useless "if" tests before free. Deprecate "free" module.
diff --git a/m4/readutmp.m4 b/m4/readutmp.m4
index eb6369f..6931dc5 100644
--- a/m4/readutmp.m4
+++ b/m4/readutmp.m4
@@ -1,5 +1,5 @@
-# readutmp.m4 serial 14
-dnl Copyright (C) 2002-2007 Free Software Foundation, Inc.
+# readutmp.m4 serial 15
+dnl Copyright (C) 2002-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -15,7 +15,6 @@ AC_DEFUN([gl_READUTMP],
dnl Prerequisites of lib/readutmp.h and lib/readutmp.c.
AC_REQUIRE([AC_C_INLINE])
- AC_REQUIRE([gl_FUNC_FREE])
AC_CHECK_FUNCS_ONCE(utmpname utmpxname)
AC_CHECK_DECLS(getutent,,,[
#ifdef HAVE_UTMP_H
--
1.5.4.3.366.g9f9b62
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Remove the last dependency on the "free" module.,
Jim Meyering <=