[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] exitfail patch to assume C89 or better
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] exitfail patch to assume C89 or better |
Date: |
08 Sep 2003 20:37:44 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this:
2003-09-08 Paul Eggert <address@hidden>
* lib/exitfail.c: Include <stdlib.h> unconditionally.
* m4/exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
Index: lib/exitfail.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/exitfail.c,v
retrieving revision 1.1
diff -p -u -r1.1 exitfail.c
--- lib/exitfail.c 22 Jun 2002 09:25:43 -0000 1.1
+++ lib/exitfail.c 9 Sep 2003 03:31:19 -0000
@@ -1,6 +1,6 @@
/* Failure exit status
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003 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 published by
@@ -21,9 +21,7 @@
# include <config.h>
#endif
-#if HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
#ifndef EXIT_FAILURE
# define EXIT_FAILURE 1
#endif
Index: m4/exitfail.m4
===================================================================
RCS file: /cvsroot/gnulib/gnulib/m4/exitfail.m4,v
retrieving revision 1.1
diff -p -u -r1.1 exitfail.m4
--- m4/exitfail.m4 31 Dec 2002 13:42:06 -0000 1.1
+++ m4/exitfail.m4 9 Sep 2003 03:31:19 -0000
@@ -1,13 +1,10 @@
-# exitfail.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# exitfail.m4 serial 2
+dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
-AC_DEFUN([gl_EXITFAIL],
-[
- dnl Prerequisites of lib/exitfail.c.
- AC_CHECK_HEADERS_ONCE(stdlib.h)
-])
+dnl Prerequisites of lib/exitfail.c.
+AC_DEFUN([gl_EXITFAIL], [:])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] exitfail patch to assume C89 or better,
Paul Eggert <=