[Varnish] #640: varnishtest uses CLOCK_REALTIME instead of TIM_real

Varnish varnish-bugs at projects.linpro.no
Wed Feb 3 22:56:50 CET 2010


#640: varnishtest uses CLOCK_REALTIME instead of TIM_real
-------------------+--------------------------------------------------------
 Reporter:  dugan  |        Type:  defect
   Status:  new    |    Priority:  normal
Milestone:         |   Component:  build 
  Version:  trunk  |    Severity:  normal
 Keywords:         |  
-------------------+--------------------------------------------------------
 In vcl.c, about line 512:
 -       AZ(clock_gettime(CLOCK_REALTIME, &ts));
 -       ts.tv_sec += dur;
 +       ts.tv_sec += TIM_real();

 This keeps varnish from building on macs.

-- 
Ticket URL: <http://varnish-cache.org/ticket/640>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list