[Privoxy-devel] how costly is --enable-strptime-sanity-checks ?
Fabian Keil
fk at fabiankeil.de
Fri May 6 08:39:06 UTC 2016
Fabian Keil <fk at fabiankeil.de> wrote:
> Lee <ler762 at gmail.com> wrote:
> > $ ./test
> > sizeof time_t = 4
> >
> > ----- old cygwin 1.5 / gcc v3
> > [1.5] /cygdrive/c/cygwin/home/Lee/t
> > $ gcc -mno-cygwin size.c -o test
> >
> > [1.5] /cygdrive/c/cygwin/home/Lee/t
> > $ ./test
> > sizeof time_t = 4
> >
> > So why isn't there a 'year 2038' problem with gcc -mno-cygwin?
>
> Maybe there is a problem and the sanity checks just don't
> detect it.
Additionally most of the problematic time-related tests are
level 17 tests and should thus be skipped on native windows
builds due to:
# Level 17 needs = feature status FEATURE_PTHREAD Yes
Of course FEATURE_PTHREAD does not actually guarantee a 64
bit time_t, so maybe we should add a FEATURE_64_BIT_TIME_T
to make the test results easier to compare.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-devel/attachments/20160506/3225cd33/attachment.bin>
More information about the Privoxy-devel
mailing list