httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@raleigh.ibm.com>
Subject Re: cvs commit: apache-2.0/src/modules/standard mod_userdir.c
Date Wed, 19 Jan 2000 06:43:24 GMT

The better way to fix it is for Apache to provide an AP_HAVE_PWD_H macro
depending on what autoconf finds.  This is all part of the autoconf not
protecting their own macros problem.  This will be fixed in time, but how
to do it is a real problem.  I am seriously considering doing what we did
for APR, which is to create another header file for public namespace
protected macros.  BTW, why are you bothering with userdir?  I didn't
think it worked on Windows.

Ryan


On 19 Jan 2000 stoddard@hyperreal.org wrote:

> stoddard    00/01/18 17:33:17
> 
>   Modified:    src/modules/standard mod_userdir.c
>   Log:
>   Fix Windows compile break. Gotta find a better way to fix this.
>   
>   Revision  Changes    Path
>   1.6       +2 -0      apache-2.0/src/modules/standard/mod_userdir.c
>   
>   Index: mod_userdir.c
>   ===================================================================
>   RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_userdir.c,v
>   retrieving revision 1.5
>   retrieving revision 1.6
>   diff -u -r1.5 -r1.6
>   --- mod_userdir.c	2000/01/18 23:41:56	1.5
>   +++ mod_userdir.c	2000/01/19 01:33:16	1.6
>   @@ -93,7 +93,9 @@
>    #include "httpd.h"
>    #include "http_config.h"
>    #include "http_request.h"
>   +#ifndef WIN32
>    #include <pwd.h>
>   +#endif
>    
>    /* The default directory in user's home dir */
>    #ifndef DEFAULT_USER_DIR
>   
>   
>   
> 

_______________________________________________________________________
Ryan Bloom		rbb@raleigh.ibm.com
4205 S Miami Blvd	
RTP, NC 27709		

Come to the first official Apache Software Foundation
Conference!  <http://ApacheCon.Com/>



Mime
View raw message