Alexey Dokuchaev <da...@nsu.ru> [2013-07-20 15:33:15 +0700]:

> i really like to have downloaded contents to have the same mtime as
> remote file (when provided in Last-Modified header, for example).
> cclive seems to lack this option right now.  i've created a simple
> patch (against v0.7.11, but should not be hard to adopt to 0.9+ i
> guess), have a look.  i've been using it for some time now, seems to
> work fine.
> %%%
> --- orig/cclive-0.7.11/src/cc/file.cpp        2012-12-12 21:12:49.000000000 
> +0800
> +++ mtime/cclive-0.7.11/src/cc/file.cpp       2013-07-20 16:20:30.000000000 
> +0800
(...)

I made a few (minor) changes[1] to your patch and committed it to the
maint-0.7 -- we will see these changes in the v0.7.15 release -- thanks
for the patch!  This should be portable to the 0.9 series.

Links:
[1]: http://repo.or.cz/w/cclive.git/commit/357e4acff9d3b7d17db365c2c5b07

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
cclive-devel mailing list
cclive-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cclive-devel

Reply via email to