Re: Patches for ModRuby on Windows

Shugo Maeda <[email protected]>
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

At Tue, 27 Jan 2004 13:27:55 +0100,
Lothar Scholz <[email protected]> wrote:
> SM> I'll commit it to CVS.
> 
> Thanks.

I commited it to CVS. Thank you.
(I used `typedef int mode_t' for win32. Is it OK?)

--- request.c	7 Aug 2003 03:48:11 -0000	1.45
+++ request.c	27 Jan 2004 13:53:33 -0000	1.46
@@ -737,6 +737,11 @@
 }
 
 #ifdef APACHE2
+
+#ifdef WIN32
+typedef int mode_t;
+#endif
+
 static mode_t get_mode(apr_finfo_t *finfo)
 {
     mode_t mode = 0;

> May i ask you again about a short answer about what
> HAVE_LIBAPREQ ?  Where do i get this library? It's not in the
> apache-2.0.48 base distribution, at least not the file
> "apache_request.h".

It's at http://httpd.apache.org/apreq/.
Please check it.

Thanks a lot,
Shugo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.