Disable sbrk() use in GNU tools.

We're studing the possibility of deprecating sbrk().  To make it easier
we're removing unnecessicary uses in the base system.  None of these
tools require sbrk(), but they agressively prefer it for no good reason.

Reviewed by:    andrew
Approved by:	re (kib)
Sponsored by:	DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D16141
This commit is contained in:
brooks 2018-09-21 17:44:05 +00:00
parent cc5efa91f1
commit 7c1dc0fa1e
12 changed files with 12 additions and 12 deletions

View File

@ -69,7 +69,7 @@
/* #undef HAVE_REMOVE */
/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define to 1 if you have the <stdarg.h> header file. */
#define HAVE_STDARG_H 1

View File

@ -65,7 +65,7 @@
#define HAVE_REALPATH 1
/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

View File

@ -104,7 +104,7 @@
#define HAVE_MKSTEMP 1
/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define to 1 if you have the `setmode' function. */
#define HAVE_SETMODE 1

View File

@ -188,7 +188,7 @@
#define HAVE_RINDEX 1
/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define to 1 if you have the `setenv' function. */
#define HAVE_SETENV 1

View File

@ -187,7 +187,7 @@
#define HAVE_RINDEX 1
/* Define to 1 if you have the `sbrk' function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define to 1 if you have the `setenv' function. */
#define HAVE_SETENV 1

View File

@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1

View File

@ -239,7 +239,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1

View File

@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1

View File

@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1

View File

@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1

View File

@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1

View File

@ -227,7 +227,7 @@
#define HAVE_REALPATH 1
/* Define if you have the sbrk function. */
#define HAVE_SBRK 1
/* #undef HAVE_SBRK */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1