This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Fix typo with newlib-long-time_t default value. (WAS: really change time_t to 64-bit by default)
On 09/26/2017 11:49 AM, Sebastian Huber wrote:
> On 26/09/17 11:07, Michael Haubenwallner wrote:
>
>> Fix typo for newlib-long-time_t to leave newlib-nano-malloc alone.
>> ---
>> newlib/configure | 2 +-
>> newlib/configure.in | 2 +-
>> 2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/newlib/configure b/newlib/configure
>> index eb4b3b2..51b645a 100755
>> --- a/newlib/configure
>> +++ b/newlib/configure
>> @@ -2513,7 +2513,7 @@ if test "${enable_newlib_long_time_t+set}" = set; then :
>> esac
>> fi
>> else
>> - newlib_nano_malloc=
>> + newlib_long_time_t=yes
>> fi
>
> The default should be:
>
> newlib_long_time_t=no
>
I've just followed your title "Change time_t to 64-bit by default", but indeed
was confused by "can be forced to long with the --enable-newlib-long-time_t" in
your commit message.
However, I do not really care except for the typo.
Thanks!
/haubi/
>From 53fa5ed5461788adf3ff04ee7eb05643c1b73c79 Mon Sep 17 00:00:00 2001
From: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Date: Tue, 26 Sep 2017 10:38:12 +0200
Subject: [PATCH] Fix typo with newlib-long-time_t default value.
Fix typo for newlib-long-time_t to leave newlib-nano-malloc alone.
---
newlib/configure | 2 +-
newlib/configure.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/newlib/configure b/newlib/configure
index eb4b3b2..9613214 100755
--- a/newlib/configure
+++ b/newlib/configure
@@ -2513,7 +2513,7 @@ if test "${enable_newlib_long_time_t+set}" = set; then :
esac
fi
else
- newlib_nano_malloc=
+ newlib_long_time_t=no
fi
diff --git a/newlib/configure.in b/newlib/configure.in
index 9d30481..adce036 100644
--- a/newlib/configure.in
+++ b/newlib/configure.in
@@ -247,7 +247,7 @@ AC_ARG_ENABLE(newlib-long-time_t,
no) newlib_long_time_t=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for newlib-long-time_t option) ;;
esac
- fi], [newlib_nano_malloc=])dnl
+ fi], [newlib_long_time_t=no])dnl
NEWLIB_CONFIGURE(.)
--
2.10.2