[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] 'stat' module patches to assume C89 or better
From: |
Paul Eggert |
Subject: |
[Bug-gnulib] 'stat' module patches to assume C89 or better |
Date: |
10 Sep 2003 00:01:06 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
I installed this:
2003-09-09 Paul Eggert <address@hidden>
* stat.c: Include <stdlib.h>, <string.h> unconditionally.
(free): Remove decl.
Index: lib/stat.c
===================================================================
RCS file: /cvsroot/gnulib/gnulib/lib/stat.c,v
retrieving revision 1.8
diff -p -u -r1.8 stat.c
--- lib/stat.c 22 Jul 2003 22:56:34 -0000 1.8
+++ lib/stat.c 10 Sep 2003 06:57:04 -0000
@@ -31,12 +31,9 @@
extern int errno;
#endif
#if defined LSTAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK
+# include <stdlib.h>
# include <string.h>
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-
# ifdef STAT_MACROS_BROKEN
# undef S_ISLNK
# endif
@@ -47,13 +44,6 @@ extern int errno;
# else
# define S_ISLNK(m) 0
# endif
-# endif
-
-# ifndef HAVE_DECL_FREE
-"this configure-time declaration test was not run"
-# endif
-# if !HAVE_DECL_FREE
-void free ();
# endif
# include "xalloc.h"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-gnulib] 'stat' module patches to assume C89 or better,
Paul Eggert <=