Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src revert ticket 435
details: https://anonhg.NetBSD.org/src/rev/012694510f9e
branches: netbsd-8
changeset: 434510:012694510f9e
user: snj <snj%NetBSD.org@localhost>
date: Thu Dec 21 23:06:58 2017 +0000
description:
revert ticket 435
diffstat:
doc/CHANGES-8.0 | 11 +--------
tools/compat/compat_defs.h | 6 +----
tools/compat/configure | 48 ++++------------------------------------
tools/compat/configure.ac | 8 +++---
tools/compat/fpurge.c | 5 +---
tools/compat/nbtool_config.h.in | 23 +++----------------
6 files changed, 16 insertions(+), 85 deletions(-)
diffs (232 lines):
diff -r 09b11375486a -r 012694510f9e doc/CHANGES-8.0
--- a/doc/CHANGES-8.0 Thu Dec 21 22:07:07 2017 +0000
+++ b/doc/CHANGES-8.0 Thu Dec 21 23:06:58 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-8.0,v 1.1.2.93 2017/12/21 22:07:07 snj Exp $
+# $NetBSD: CHANGES-8.0,v 1.1.2.94 2017/12/21 23:06:58 snj Exp $
A complete list of changes from the initial NetBSD 8.0 branch on 2017-06-04
until the 8.0 release:
@@ -8451,15 +8451,6 @@
Fix uninitialized pointer.
[maxv, ticket #434]
-tools/compat/compat_defs.h 1.108
-tools/compat/configure 1.87-1.88
-tools/compat/configure.ac 1.88-1.89
-tools/compat/fpurge.c 1.2
-tools/compat/nbtool_config.h.in 1.41-1.42
-
- Fix build on Cygwin. PR toolchain/52797.
- [sevan, ticket #435]
-
distrib/sets/lists/modules/mi 1.112
sys/modules/Makefile 1.196
sys/modules/if_gif/Makefile 1.3
diff -r 09b11375486a -r 012694510f9e tools/compat/compat_defs.h
--- a/tools/compat/compat_defs.h Thu Dec 21 22:07:07 2017 +0000
+++ b/tools/compat/compat_defs.h Thu Dec 21 23:06:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_defs.h,v 1.107.6.1 2017/12/21 19:11:21 snj Exp $ */
+/* $NetBSD: compat_defs.h,v 1.107.6.2 2017/12/21 23:06:58 snj Exp $ */
#ifndef __NETBSD_COMPAT_DEFS_H__
#define __NETBSD_COMPAT_DEFS_H__
@@ -252,10 +252,6 @@
char *dirname(char *);
#endif
-#if !HAVE_DECL_FPURGE
-void fpurge(FILE *);
-#endif
-
#if !HAVE_DIRFD
#if HAVE_DIR_DD_FD
#define dirfd(dirp) ((dirp)->dd_fd)
diff -r 09b11375486a -r 012694510f9e tools/compat/configure
--- a/tools/compat/configure Thu Dec 21 22:07:07 2017 +0000
+++ b/tools/compat/configure Thu Dec 21 23:06:58 2017 +0000
@@ -4097,7 +4097,7 @@
fi
-for ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h stdio_ext.h \
+for ac_header in sys/mtio.h sys/sysmacros.h sys/syslimits.h \
getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h rpc/types.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
@@ -4520,19 +4520,6 @@
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_ASPRINTF $ac_have_decl
_ACEOF
-ac_fn_c_check_decl "$LINENO" "asnprintf" "ac_cv_have_decl_asnprintf" "
-#include <stdio.h>
-
-"
-if test "x$ac_cv_have_decl_asnprintf" = xyes; then :
- ac_have_decl=1
-else
- ac_have_decl=0
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_ASNPRINTF $ac_have_decl
-_ACEOF
ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "
#include <stdio.h>
@@ -4585,44 +4572,19 @@
cat >>confdefs.h <<_ACEOF
#define HAVE_DECL_FGETLN $ac_have_decl
_ACEOF
-ac_fn_c_check_decl "$LINENO" "fparseln" "ac_cv_have_decl_fparseln" "
+ac_fn_c_check_decl "$LINENO" "fparseln
+ getdelim" "ac_cv_have_decl_fparseln__getdelim" "
#include <stdio.h>
"
-if test "x$ac_cv_have_decl_fparseln" = xyes; then :
+if test "x$ac_cv_have_decl_fparseln__getdelim" = xyes; then :
ac_have_decl=1
else
ac_have_decl=0
fi
cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_FPARSELN $ac_have_decl
-_ACEOF
-ac_fn_c_check_decl "$LINENO" "fpurge" "ac_cv_have_decl_fpurge" "
-#include <stdio.h>
-
-"
-if test "x$ac_cv_have_decl_fpurge" = xyes; then :
- ac_have_decl=1
-else
- ac_have_decl=0
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_FPURGE $ac_have_decl
-_ACEOF
-ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "
-#include <stdio.h>
-
-"
-if test "x$ac_cv_have_decl_getdelim" = xyes; then :
- ac_have_decl=1
-else
- ac_have_decl=0
-fi
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_DECL_GETDELIM $ac_have_decl
+#define HAVE_DECL_FPARSELN__GETDELIM $ac_have_decl
_ACEOF
ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "
#include <stdio.h>
diff -r 09b11375486a -r 012694510f9e tools/compat/configure.ac
--- a/tools/compat/configure.ac Thu Dec 21 22:07:07 2017 +0000
+++ b/tools/compat/configure.ac Thu Dec 21 23:06:58 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: configure.ac,v 1.87.6.1 2017/12/21 19:11:21 snj Exp $
+# $NetBSD: configure.ac,v 1.87.6.2 2017/12/21 23:06:58 snj Exp $
#
# Autoconf definition file for libnbcompat.
#
@@ -78,7 +78,7 @@
# Find headers that may not be available.
AC_HEADER_DIRENT
-AC_CHECK_HEADERS(sys/mtio.h sys/sysmacros.h sys/syslimits.h stdio_ext.h \
+AC_CHECK_HEADERS(sys/mtio.h sys/sysmacros.h sys/syslimits.h \
getopt.h features.h malloc.h sys/poll.h pthread.h stddef.h rpc/types.h)
AC_CHECK_HEADERS(sys/bswap.h machine/bswap.h sys/cdefs.h machine/endian.h \
sys/endian.h sys/featuretest.h err.h inttypes.h libgen.h paths.h \
@@ -140,8 +140,8 @@
AC_CHECK_MEMBERS(struct tm.tm_gmtoff,,, [#include <time.h>])
# Global variable decls.
-AC_CHECK_DECLS([asprintf, asnprintf, vasprintf, vasnprintf, vsnprintf, fgetln, fparseln,
- fpurge, getdelim, getline, snprintf],,, [
+AC_CHECK_DECLS([asprintf, vasprintf, vasnprintf, vsnprintf, fgetln, fparseln
+ getdelim, getline, snprintf],,, [
#include <stdio.h>
])
diff -r 09b11375486a -r 012694510f9e tools/compat/fpurge.c
--- a/tools/compat/fpurge.c Thu Dec 21 22:07:07 2017 +0000
+++ b/tools/compat/fpurge.c Thu Dec 21 23:06:58 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpurge.c,v 1.1.38.1 2017/12/21 19:11:21 snj Exp $ */
+/* $NetBSD: fpurge.c,v 1.1.38.2 2017/12/21 23:06:58 snj Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -36,9 +36,6 @@
#include "nbtool_config.h"
#if !HAVE_FPURGE
-#if HAVE_STDIO_EXT_H
-#include <stdio_ext.h>
-#endif
#include <stdio.h>
#include <fcntl.h>
diff -r 09b11375486a -r 012694510f9e tools/compat/nbtool_config.h.in
--- a/tools/compat/nbtool_config.h.in Thu Dec 21 22:07:07 2017 +0000
+++ b/tools/compat/nbtool_config.h.in Thu Dec 21 23:06:58 2017 +0000
@@ -1,6 +1,6 @@
/* nbtool_config.h.in. Generated from configure.ac by autoheader. */
-/* $NetBSD: nbtool_config.h.in,v 1.40.6.1 2017/12/21 19:11:21 snj Exp $ */
+/* $NetBSD: nbtool_config.h.in,v 1.40.6.2 2017/12/21 23:06:58 snj Exp $ */
#ifndef __NETBSD_NBTOOL_CONFIG_H__
#define __NETBSD_NBTOOL_CONFIG_H__
@@ -47,10 +47,6 @@
/* Define to 1 if you have the <ctype.h> header file. */
#undef HAVE_CTYPE_H
-/* Define to 1 if you have the declaration of `asnprintf', and to 0 if you
- don't. */
-#undef HAVE_DECL_ASNPRINTF
-
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */
#undef HAVE_DECL_ASPRINTF
@@ -130,22 +126,14 @@
*/
#undef HAVE_DECL_FGETLN
-/* Define to 1 if you have the declaration of `fparseln', and to 0 if you
- don't. */
-#undef HAVE_DECL_FPARSELN
-
-/* Define to 1 if you have the declaration of `fpurge', and to 0 if you don't.
- */
-#undef HAVE_DECL_FPURGE
+/* Define to 1 if you have the declaration of `fparseln getdelim', and to 0 if
+ you don't. */
+#undef HAVE_DECL_FPARSELN__GETDELIM
/* Define to 1 if you have the declaration of `fstatvfs', and to 0 if you
don't. */
#undef HAVE_DECL_FSTATVFS
-/* Define to 1 if you have the declaration of `getdelim', and to 0 if you
- don't. */
-#undef HAVE_DECL_GETDELIM
-
/* Define to 1 if you have the declaration of `getline', and to 0 if you
don't. */
#undef HAVE_DECL_GETLINE
@@ -625,9 +613,6 @@
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
-/* Define to 1 if you have the <stdio_ext.h> header file. */
-#undef HAVE_STDIO_EXT_H
-
/* Define to 1 if you have the <stdio.h> header file. */
#undef HAVE_STDIO_H
Home |
Main Index |
Thread Index |
Old Index