httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [STATUS] 1.3b1: Fri Oct 3 12:18:20 PDT 1997
Date Sat, 04 Oct 1997 18:48:36 GMT
+/* is it a directory? */
+       if (ent->d_attr & A_DIR) {

Unfortunately unix doesn't have d_attr in the readdir structure.  I wish
it did ... but no such luck.  But this is a fine way of fixing it for
OS/2, it just needs to be done conditionally. 

Dean

On Sun, 5 Oct 1997, Brian Havard wrote:

> On Fri, 3 Oct 1997 12:19:09 -0700 (PDT), Dean Gaudet wrote:
> 
> >    * Need a version of Garey's OS/2 proxy patch.
> 
>   I've had a look at this and come up with the following patch. I've actually
> rearranged the code a bit to make open()'ing directories unnecessary and
> therefore avoiding the problem altogether (which was that OS/2 doesn't let
> you open() a directory). I've tested it and it seems to work OK.
>   It should actually be a little bit faster in that it no longer open()s and
> fstat()s directories. Let me know what you think.
> 
> --
>  ______________________________________________________________________________
>  |  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