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: [STATUS] 1.3b1: Fri Oct 3 12:18:20 PDT 1997
Date Sun, 05 Oct 1997 06:40:04 GMT
On Sat, 4 Oct 1997 11:48:36 -0700 (PDT), Dean Gaudet wrote:

>+/* 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. 

D'oh! I forgot about that. I was hoping to avoid more #ifdefs

OK, here's a revised version of the patch that I've tested under both OS/2
and Linux.

--
 ______________________________________________________________________________
 |  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