This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Year 2038 problem
- From: Clemens Ladisch <clemens at ladisch dot de>
- To: newlib at sourceware dot org
- Date: Fri, 20 Nov 2015 15:52:48 +0100
- Subject: Re: Year 2038 problem
- Authentication-results: sourceware.org; auth=none
- References: <298571211 dot 10499346 dot 1447832835018 dot JavaMail dot yahoo dot ref at mail dot yahoo dot com> <298571211 dot 10499346 dot 1447832835018 dot JavaMail dot yahoo at mail dot yahoo dot com> <20151118094331 dot GQ6402 at calimero dot vinschen dot de> <564C569B dot 4080308 at ladisch dot de> <20151118205314 dot GZ6402 at calimero dot vinschen dot de> <564D8537 dot 20103 at ladisch dot de> <20151119102037 dot GC6402 at calimero dot vinschen dot de> <564EEEE3 dot 7010501 at gmx dot de> <564EFBAA dot 4080703 at ladisch dot de> <564F29C2 dot 9030701 at gmx dot de>
Stefan Heinzmann wrote:
> Would it not be better to adopt the custom of the system newlib is
> used with? Maybe it should not be up to the C library to define what
> time_t should be, but the underlying system's relevant system calls
> suggest the decision.
Cygwin and Linux have 64-bit system calls. Practically everything else
is embedded, where newlib must define what the custom is.
Regards,
Clemens