httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dean gaudet <dgaudet-list-new-ht...@arctic.org>
Subject Re: APR questions/issues
Date Wed, 26 Jul 2000 02:16:31 GMT
On Sun, 2 Jul 2000 rbb@covalent.net wrote:

> Chmod is definately not portable.  There are people who have implemtned
> chmod for Windows, but we don't have it.  I really tried a while ago to
> come up with a way to abstract out file permissions, but I never could
> figure it out.  There are two answers.  1)  Figure out how to abstract out
> file permissions.  2)  Use an ifdef.

anything to do with access permissions isn't terribly portable.  
mod_userdir is a fine fine example:

#ifdef WIN32
            /* Need to figure out home dirs on NT */
            return DECLINED;
#else                           /* WIN32 */

-dean


Mime
View raw message