httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: [PATCH] for mod_autoindex: no-sorting, last-modified
Date Tue, 21 Oct 1997 03:32:55 GMT
On Mon, 20 Oct 1997 15:06:51 -0400, Rodent of Unusual Size wrote:

>    Okey, here's an improved (?) patch over the one submitted.  It
>
>    o adds the IndexOptions keyword "SuppressColumnSorting"
>    o sets the Last-Modified to the mtime of the directory if possible;
>      if stat(r->filename) fails (as it probably will on OS/2), no
>      Last-Modified is set.  (I find the alternative - waiting until the
>      directory has been scanned and setting it to the newest file - to
>      be nearly pinning my bogometer.)

a stat() of "." doesn't fail with an error under OS/2 but the date of "."
doesn't get changed when files in it are changed. It always reports the
date/time it was created. The same applies to NT (and probably '95) if using
FAT (NTFS is OK but of course '95 can't use it).

--
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message