lxr provides a wrong Last-Modified field on
popular web sites, like cvs.gnome.org or mozilla:
wget -S http://lxr.mozilla.org/seamonkey/source/
wget -S http://cvs.gnome.org/lxr/source
4 Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Logged In: YES
I cannot reproduce this - both the URLs you supply give back
correct last-modified dates (or at least, not 1970 dates).
Testing against the current CVS lxr also shows correct dates.
Looking at the code, I can see no way that such a date would
be printed with the current code - it explicitly checks for
the case when the time returned is 0 (ie start of epoch) and
doesn't return a header.
Note that this is not the place to report problems with
installations of the lxr such as at mozilla or gnome, since
we have no idea what code they are running. Please only
report bugs against an installation that you are running
using the lxr code from here, so we can have a chance to
track down any bug and fix it.
Log in to post a comment.