current cgisimple.c, 1.138, 1.139 configure.in, 1.196, 1.197

Fabian Keil <[email protected]> Sun, 08 May 2016 10:44:41 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20319

Modified Files:
	cgisimple.c configure.in 
Log Message:
Add FEATURE_64_BIT_TIME_T

It's sole purpose is to make it obvious from the show-status page
whether or not dates before 1970 and after 2038 are expected to be
handled properly.

This is mainly useful for Privoxy-Regression-Test but could
also come handy when dealing with time-related support requests.


Index: cgisimple.c
===================================================================
RCS file: /cvsroot/ijbswa/current/cgisimple.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -C2 -d -r1.138 -r1.139
*** cgisimple.c	4 Apr 2016 10:55:47 -0000	1.138
--- cgisimple.c	8 May 2016 10:44:39 -0000	1.139
***************
*** 1717,1720 ****
--- 1717,1728 ----
     static const struct feature features[] = {
        {
+          "FEATURE_64_BIT_TIME_T",
+ #if (SIZEOF_TIME_T == 8)
+          1,
+ #else
+          0,
+ #endif
+       },
+       {
           "FEATURE_ACCEPT_FILTER",
  #ifdef FEATURE_ACCEPT_FILTER

Index: configure.in
===================================================================
RCS file: /cvsroot/ijbswa/current/configure.in,v
retrieving revision 1.196
retrieving revision 1.197
diff -C2 -d -r1.196 -r1.197
*** configure.in	9 Apr 2016 10:22:40 -0000	1.196
--- configure.in	8 May 2016 10:44:39 -0000	1.197
***************
*** 716,719 ****
--- 716,720 ----
  AC_CHECK_SIZEOF(long long, 8)
  AC_CHECK_SIZEOF(size_t, 4)
+ AC_CHECK_SIZEOF(time_t, 8)
  
  dnl Checks for header files.


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z