Mailing List Archive

Apache on SVR4
It's clear from c.i.w.s.u that several SVR4 systems need locking around
the accept() call. Maybe it was not optimal to _not_ enable locking
until users complained.

I think we should probably fix this for 1.0; here is a patch:

30_svr4.0.8.15.patch
--------------------

-----begin file
From: drtr@ast.cam.ac.uk (David Robinson)
Subject: Many SVR4 systems require a lock around accept()
Affects: conf.h
ChangeLog: Lock accept() by default on SVR4 systems.

*** conf.h.orig Tue Oct 10 23:04:07 1995
--- conf.h Wed Oct 18 14:54:11 1995
***************
*** 208,213 ****
--- 208,215 ----
#define bzero(a,b) memset(a,0,b)
#define JMP_BUF sigjmp_buf
#define getwd(d) getcwd(d,MAX_STRING_LEN)
+ /* A lot of SVR4 systems need this */
+ #define FCNTL_SERIALIZED_ACCEPT

#elif defined(__NetBSD__)
#define HAS_GMTOFF

-----end file
Re: Apache on SVR4 [ In reply to ]
Re: Apache on SVR4 [ In reply to ]