You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by David Reid <dr...@jetnet.co.uk> on 2000/07/12 22:24:25 UTC
BeOS Patch
OK, hers' the BeOS patch for 1.3.13 again. I've changed it to hopefully
address the concerns that were raised and would like to have it in for
1.3.13. Basically without the tiny change to http_main.c Apache doesn't
work on BeOS R5 pro or free edition :(
The change in os/unix/os.h I'm not fussed about really but you have to try!
:)
david
Index: main/http_main.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.504
diff -u -u -r1.504 http_main.c
--- main/http_main.c 2000/07/03 14:50:54 1.504
+++ main/http_main.c 2000/07/12 20:20:53
@@ -3107,7 +3107,7 @@
static void set_group_privs(void)
{
-#if !defined(WIN32) && !defined(NETWARE)
+#if !defined(WIN32) && !defined(NETWARE) && !defined(BEOS)
if (!geteuid()) {
char *name;
Index: os/unix/os.h
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/unix/os.h,v
retrieving revision 1.42
diff -u -u -r1.42 os.h
--- os/unix/os.h 1999/12/09 19:21:55 1.42
+++ os/unix/os.h 2000/07/12 20:20:53
@@ -61,7 +61,11 @@
#include "ap_config.h"
#ifndef PLATFORM
+#ifndef BEOS
#define PLATFORM "Unix"
+#else
+#define PLATFORM "BeOS"
+#endif
#endif
/*
"I try never to get involved in my own life,
it's way too complicated."
http://www.david-reid.com