public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jeff Johnston <jjohnstn@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] Change the reent verify check option to document disabling it
Date: Tue, 21 Jan 2020 20:14:00 -0000	[thread overview]
Message-ID: <20200121201416.63618.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8b39f7406c7b819bc45a83e9c94531221a6b3b34

commit 8b39f7406c7b819bc45a83e9c94531221a6b3b34
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Tue Jan 21 15:12:34 2020 -0500

    Change the reent verify check option to document disabling it
    
    - also change the handling of default_newlib_reent_check_verify to
      be the same as other default variables in configure.host
    - regenerate newlib/configure

Diff:
---
 newlib/configure      | 2 +-
 newlib/configure.host | 4 ++--
 newlib/configure.in   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/newlib/configure b/newlib/configure
index 108fc4e..ea98e04 100755
--- a/newlib/configure
+++ b/newlib/configure
@@ -1464,7 +1464,7 @@ Optional Features:
   --enable-newlib-io-long-long   enable long long type support in IO functions like printf/scanf
   --enable-newlib-io-long-double   enable long double type support in IO functions printf/scanf
   --enable-newlib-mb        enable multibyte support
-  --enable-newlib-reent-check-verify        enable checking of _REENT_CHECK memory allocation
+  --disable-newlib-reent-check-verify        disable checking of _REENT_CHECK memory allocation
   --enable-newlib-iconv-encodings   enable specific comma-separated list of bidirectional iconv encodings to be built-in
   --enable-newlib-iconv-from-encodings   enable specific comma-separated list of \"from\" iconv encodings to be built-in
   --enable-newlib-iconv-to-encodings   enable specific comma-separated list of \"to\" iconv encodings to be built-in
diff --git a/newlib/configure.host b/newlib/configure.host
index 406dac8..a84c0c8 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -970,8 +970,8 @@ fi
 
 # Enable _REENT_CHECK macro memory allocation verification.
 if [ "x${newlib_reent_check_verify}" = "x" ]; then
-	if [ ${default_newlib_reent_check_verify} = "no" ]; then
-		newlib_reent_check_verify="no";
+	if [ ${default_newlib_reent_check_verify} = "yes" ]; then
+		newlib_reent_check_verify="yes";
 	fi
 fi
 
diff --git a/newlib/configure.in b/newlib/configure.in
index ec5039d..67597bb 100644
--- a/newlib/configure.in
+++ b/newlib/configure.in
@@ -67,9 +67,9 @@ AC_ARG_ENABLE(newlib-mb,
  esac], [newlib_mb=])dnl
 
 dnl Enable verification of successful memory allocation for _REENT_CHECK family of macros
-dnl Support --enable-newlib-reent-check-verify
+dnl Support --disable-newlib-reent-check-verify
 AC_ARG_ENABLE(newlib-reent-check-verify,
-[  --enable-newlib-reent-check-verify        enable checking of _REENT_CHECK memory allocation],
+[  --disable-newlib-reent-check-verify        disable checking of _REENT_CHECK memory allocation],
 [case "${enableval}" in
   yes) newlib_reent_check_verify=yes;;
   no)  newlib_reent_check_verify=no ;;


                 reply	other threads:[~2020-01-21 20:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200121201416.63618.qmail@sourceware.org \
    --to=jjohnstn@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).