c746cd1e56
In paste.c, do real boundary checks and consider NULL FILE pointers as closed files. This replaces use of global dummy FILEs, which is not possible on DragonFly, since FILE is incompletly. In configure, include stdio.h when checking for __fpending, since the prototype is defined there on DragonFly.
36 lines
833 B
Text
36 lines
833 B
Text
$NetBSD: patch-ca,v 1.2 2006/01/09 22:45:08 joerg Exp $
|
|
|
|
--- configure.orig 2004-03-11 08:58:11.000000000 +0000
|
|
+++ configure
|
|
@@ -27323,6 +27323,10 @@ _ACEOF
|
|
fi
|
|
fi
|
|
|
|
+case $host in
|
|
+*-interix3*) ac_list_mounted_fs=found;;
|
|
+esac
|
|
+
|
|
if test -z "$ac_list_mounted_fs"; then
|
|
{ { echo "$as_me:$LINENO: error: could not determine how to read list of mounted filesystems" >&5
|
|
echo "$as_me: error: could not determine how to read list of mounted filesystems" >&2;}
|
|
@@ -39680,6 +39684,7 @@ done
|
|
|
|
|
|
fp_headers='
|
|
+# include <stdio.h>
|
|
# if HAVE_STDIO_EXT_H
|
|
# include <stdio_ext.h>
|
|
# endif
|
|
@@ -44983,10 +44988,12 @@ for ac_func in \
|
|
mempcpy \
|
|
mkfifo \
|
|
realpath \
|
|
+ setgroups \
|
|
sethostname \
|
|
strchr \
|
|
strerror \
|
|
strrchr \
|
|
+ sync \
|
|
sysctl \
|
|
sysinfo \
|
|
wcrtomb \
|