[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] wget -N timestamp sometimes off by one second
From: |
Ángel González |
Subject: |
Re: [Bug-wget] wget -N timestamp sometimes off by one second |
Date: |
Fri, 06 Apr 2012 01:01:15 +0200 |
User-agent: |
Thunderbird |
On 05/04/12 21:51, Daniel A. Nagy wrote:
> Version: 1.13.4
> Operating System: OpenWrt 10.03.1
> Kernel: Linux 2.6.32.27
> Filesystem: vfat
>
> What happens is that wget -N writes a filestamp that is one second
> earlier than the Last-modified HTTP header and therefore when invoked
> again, downloads the same file again even though it should not. So, the
> timestamp it uses for comparison is right, but the one that ends up
> written on the filesystem is wrong.
>
> It's not even consistent, with most files it works okay, but for some,
> it does not work. So far, I did not manage to find any pattern in those
> files that end up mis-timestamped.
vfat has a two-second precision for modified time. If the file was last
modified
in an odd second (if I remember right), the filesystem will store it in
the even
one, thus always showing as modified. Many tools get fooled with that, such
as make.
- [Bug-wget] wget -N timestamp sometimes off by one second, Daniel A. Nagy, 2012/04/05
- Re: [Bug-wget] wget -N timestamp sometimes off by one second,
Ángel González <=
- Re: [Bug-wget] wget -N timestamp sometimes off by one second, Daniel A. Nagy, 2012/04/05
- [Bug-wget] Wget build system., illusionoflife, 2012/04/08
- Re: [Bug-wget] Wget build system., illusionoflife, 2012/04/09
- Re: [Bug-wget] Wget build system., Ángel González, 2012/04/09
- Re: [Bug-wget] Wget build system., illusionoflife, 2012/04/10
- Re: [Bug-wget] Wget build system., Ángel González, 2012/04/10
- Re: [Bug-wget] Wget build system., Micah Cowan, 2012/04/10
- Re: [Bug-wget] Wget build system., illusionoflife, 2012/04/11
- Re: [Bug-wget] Wget build system., Micah Cowan, 2012/04/11
- Re: [Bug-wget] Wget build system., illusionoflife, 2012/04/11