[EMAIL PROTECTED] wrote: > > This is a simple patch that adds the new MMAP and file setaside functions > this works in my testing, but I had to hack on the server to make it fail, > so I can't garauntee that this will work for people who can make it fail :%s/garauntee/guarantee/g > out of the box. Can somebody test this and make sure it works? > I'm on it, but ran into some snags. backed out my patch to the open in default_handler, hit my local version of http://httpd.apache.org/dist/ with Netscape: [Thu Jun 14 15:10:57 2001] [notice] Apache/2.0.19-dev (Unix) configured -- resuming normal operations [Thu Jun 14 15:11:14 2001] [notice] child pid 19856 exit signal Segmentation fault (11) [Thu Jun 14 15:11:14 2001] [notice] child pid 19852 exit signal Segmentation fault (11) did a cvs up, then had some grief with the apr_buckets_file.c part of the patch. [gregames@gandalf httpd-2.0]$ patch -p0 < ~/setaside.patch patching file server/core.c Hunk #1 succeeded at 2930 (offset 10 lines). patching file server/protocol.c patching file srclib/apr-util/buckets/apr_buckets_file.c Hunk #2 FAILED at 92. 1 out of 4 hunks FAILED -- saving rejects to file srclib/apr-util/buckets/apr_buckets_file.c.rej patching file srclib/apr-util/buckets/apr_buckets_mmap.c Maybe it's something to do with the blank like that was deleted; maybe I don't know the right incantation. dunno - I just edited the file to apply it. Then I tried "make" and got: apr_buckets_file.c:213: warning: no previous prototype for `file_setaside' apr_buckets_file.c: In function `file_setaside': apr_buckets_file.c:232: warning: control reaches end of non-void function ...but those are just warnings. However, I picked up some sms stuff on the cvs up which killed the make: server/.libs/libmain.a(exports.o)(.data+0x2d4):/home/gregames/apache/httpd-2.0/server/exports.c: undefined reference to `apr_sms_blocks_create' collect2: ld returned 1 exit status make[1]: *** [httpd] Error 1 make[1]: Leaving directory `/home/gregames/apache/httpd-2.0' make: *** [all-recursive] Error 1 I'll keep plugging and see what this is all about. Greg
