[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
findutils-4.1 & glibc-2.*
From: |
Florian Wunderlich |
Subject: |
findutils-4.1 & glibc-2.* |
Date: |
Mon, 18 Dec 2000 16:35:04 +0100 |
Again, no new version of findutils and 4.1 doesn't compile with glibc.
Of course, this should probably be protected with #if instead of simply
deleting it.
Could you please at least upload this to
ftp://ftp.gnu.org/pub/gnu/findutils/
so that people don't have to do this over and over again?
diff -ur findutils-4.1/find/defs.h findutils-4.1-new/find/defs.h
--- findutils-4.1/find/defs.h Wed Nov 2 21:59:15 1994
+++ findutils-4.1-new/find/defs.h Sun Sep 3 14:49:35 2000
@@ -301,7 +301,6 @@
boolean mark_stat P_((struct predicate *tree));
/* util.c */
-char *basename P_((char *fname));
struct predicate *get_new_pred P_((void));
struct predicate *get_new_pred_chk_op P_((void));
struct predicate *insert_primary P_((boolean (*pred_func )()));
diff -ur findutils-4.1/find/fstype.c findutils-4.1-new/find/fstype.c
--- findutils-4.1/find/fstype.c Thu Nov 3 17:33:48 1994
+++ findutils-4.1-new/find/fstype.c Sun Sep 3 14:47:52 2000
@@ -30,9 +30,6 @@
extern int errno;
#endif
-char *strdup ();
-char *strstr ();
-
static char *filesystem_type_uncached P_((char *path, char *relpath, struct
stat *statp));
static int xatoi P_((char *cp));
diff -ur findutils-4.1/find/parser.c findutils-4.1-new/find/parser.c
--- findutils-4.1/find/parser.c Wed Nov 2 21:59:19 1994
+++ findutils-4.1-new/find/parser.c Sun Sep 3 14:47:57 2000
@@ -52,7 +52,6 @@
#define lstat stat
#endif
-char *strstr ();
int lstat ();
int stat ();
#ifndef atol /* for Linux */
diff -ur findutils-4.1/find/pred.c findutils-4.1-new/find/pred.c
--- findutils-4.1/find/pred.c Wed Nov 2 21:59:23 1994
+++ findutils-4.1-new/find/pred.c Sun Sep 3 14:49:28 2000
@@ -15,6 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#define _GNU_SOURCE
#include <config.h>
#include <sys/types.h>
#include <sys/stat.h>
diff -ur findutils-4.1/lib/nextelem.c findutils-4.1-new/lib/nextelem.c
--- findutils-4.1/lib/nextelem.c Tue Sep 27 14:02:45 1994
+++ findutils-4.1-new/lib/nextelem.c Sun Sep 3 14:47:26 2000
@@ -32,8 +32,6 @@
#endif
#endif
-char *strdup ();
-void free ();
/* Return the next element of a colon-separated path.
A null entry in the path is equivalent to "." (the current directory).
diff -ur findutils-4.1/xargs/xargs.c findutils-4.1-new/xargs/xargs.c
--- findutils-4.1/xargs/xargs.c Fri Oct 7 18:21:39 1994
+++ findutils-4.1-new/xargs/xargs.c Sun Sep 3 14:49:59 2000
@@ -60,9 +60,6 @@
#define memcpy(dest, source, count) (bcopy((source), (dest), (count)))
#endif
-char *strstr ();
-char *strdup ();
-
#ifndef _POSIX_SOURCE
#include <sys/param.h>
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- findutils-4.1 & glibc-2.*,
Florian Wunderlich <=