[Privoxy-devel] how costly is --enable-strptime-sanity-checks ?

Lee ler762 at gmail.com
Sat Apr 30 02:00:55 UTC 2016


Looking on the bright side, the nice thing about migrating to the
cygwin cross-compiler is that I get to learn so many new things :)

How expensive would it be it to have --enable-strptime-sanity-checks
default to on?


dunno if this means anything or not, but this is the rabbit hole I'm
going down now:

./configure --build=i686-pc-cygwin --host=i686-w64-mingw32
--enable-mingw32  --enable-strptime-sanity-checks  --enable-zlib

$ grep "Error: Failed to parse" privoxy.log
2016-04-29 19:18:50.638 00000270 Error: Failed to parse '' generated
with '%a, %d %b %Y %H:%M:%S' to recreate 'Mon, 1 Jan 2525 00:00:00
GMT'.
2016-04-29 19:18:50.841 00000272 Error: Failed to parse '' generated
with '%a, %d-%b-%Y %H:%M:%S' to recreate 'Monday, 01-Jan-2525 00:00:00
GMT'.
2016-04-29 19:18:50.857 00000272 Error: Failed to parse '' generated
with '%A, %d-%b-%Y %H:%M:%S' to recreate 'Monday, 01-Jan-2525 00:00:00
GMT'.
2016-04-29 19:18:50.950 00000273 Error: Failed to parse '' generated
with '%a, %d-%b-%Y %H:%M:%S' to recreate 'Mon, 01-Jan-2525 00:00:00
GMT'.
2016-04-29 19:18:50.950 00000273 Error: Failed to parse '' generated
with '%A, %d-%b-%Y %H:%M:%S' to recreate 'Mon, 01-Jan-2525 00:00:00
GMT'.
2016-04-29 19:18:51.044 00000274 Error: Failed to parse '' generated
with '%A %b %d %H:%M:%S %Y' to recreate 'Monday Jan 01 00:00:00 2525
GMT'.
2016-04-29 19:18:51.793 0000027c Error: Failed to parse '' generated
with '%a, %d %b %Y %H:%M:%S' to recreate 'Wed, 31 Dec 1969 23:59:59
GMT'.

Lee


More information about the Privoxy-devel mailing list