summaryrefslogtreecommitdiff
path: root/mmap
Commit message (Collapse)AuthorAgeFilesLines
...
* Big commit. Basically, if APR defines a public feature macro, then APRrbb2000-06-223-3/+4
| | | | | | | | | should also use that macro internally. This keeps us from checking for multiple macros as we were doing in the SENDFILE case. It also means that APR is definately building the same way that external programs expect it to. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60239 13f79535-47bb-0310-9956-ffa450edef68
* OK so finally I get my cvs working again! These small diffsdreid2000-06-122-2/+2
| | | | | | | get mmap building on BeOS after the merge. Missed them last time around. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60177 13f79535-47bb-0310-9956-ffa450edef68
* trailing space caused build to break for me, remove it.dougm2000-06-111-1/+1
| | | | | | | | | | | did somebody say it's sunny outside? PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60176 13f79535-47bb-0310-9956-ffa450edef68
* Update dependencies.ben2000-06-111-14/+16
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60173 13f79535-47bb-0310-9956-ffa450edef68
* don't seek when setting up an mmapdgaudet2000-06-101-2/+3
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60159 13f79535-47bb-0310-9956-ffa450edef68
* Small change to get mmap support for BeOS working again.dreid2000-06-011-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60128 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typo in the new beos code in the unix dir.rbb2000-05-161-1/+1
| | | | | | | Submitted by: Greg Stein git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60048 13f79535-47bb-0310-9956-ffa450edef68
* Update the unix code to support BeOS. Remove the now un-necessary BeOSrbb2000-05-167-283/+39
| | | | | | | directory. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60046 13f79535-47bb-0310-9956-ffa450edef68
* Use ap_pcalloc instead of ap_palloc where it makes sense.rbb2000-04-301-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60005 13f79535-47bb-0310-9956-ffa450edef68
* Make `mm' an INCDIR in shmem/unix, so that the INCDIR rewriter cansascha2000-04-302-2/+0
| | | | | | | | | automatically adapt it for VPATH use. Remove $(OBJS): Makefile dependency to avoid unnecessary rebuilds. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59998 13f79535-47bb-0310-9956-ffa450edef68
* Update comment for depend target. The template makefiles are now calledsascha2000-04-302-2/+2
| | | | | | | Makefile.in, and Configure became configure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59996 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.rbb2000-04-223-4/+4
| | | | | | | | This should make the fact that this is a private header file more obvious. This also updates all of the references to apr_config.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesrbb2000-04-144-4/+4
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* more namespace cleanupdgaudet2000-04-144-6/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59849 13f79535-47bb-0310-9956-ffa450edef68
* more documentation movementdgaudet2000-04-142-21/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59841 13f79535-47bb-0310-9956-ffa450edef68
* Remove all the buffered I/O code from APR. APR supports buffered I/O onlyrbb2000-04-061-1/+1
| | | | | | | | on platforms that only support FILE *'s, not ints. Of course, this is only true on POSIX systems. Other systems can do what they want. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59808 13f79535-47bb-0310-9956-ffa450edef68
* Finish the APR naming cleanup. This removes the struct's fromrbb2000-04-032-7/+7
| | | | | | | | apr_variable declarations. This works on Unix, but a test compile on other platforms would be a good idea. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59773 13f79535-47bb-0310-9956-ffa450edef68
* fix the rest of the struct foo_t to struct ap_foo_t. Next is removing therbb2000-04-034-9/+9
| | | | | | | struct's where possible. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59769 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1fielding2000-03-315-158/+154
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Fix warnings, update dependencies.ben2000-03-181-6/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59724 13f79535-47bb-0310-9956-ffa450edef68
* Updating more docs. :-)rbb2000-03-152-0/+21
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59705 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:rbb2000-03-105-45/+45
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
* Pointer arithmetic using void * is non-sense. GCC implicitly convertssascha2000-01-031-1/+1
| | | | | | | these constructs to char *. To support other compilers, we cast explicitly. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59567 13f79535-47bb-0310-9956-ffa450edef68
* Fix the build process for APR. There is no reason to build each libraryrbb1999-12-201-7/+7
| | | | | | | | | individually if we are just going to combine them into one library later. I am just commenting out those lines we don't need anymore. They will probably go away very soon, but I want to think about it a bit more. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59544 13f79535-47bb-0310-9956-ffa450edef68
* The compiler for PowerPC versions of BeOS is about as pedantic asdreid1999-12-191-3/+2
| | | | | | | | | I've ever seen so this set of patches gets it working with no niggles. The autoconf also gives answers that don't work so these are set to get around this problem. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59540 13f79535-47bb-0310-9956-ffa450edef68
* Update the BeOS files to use a single header.dreid1999-12-152-11/+9
| | | | | | | | BeOS can't use the same non-blocking code as Unix for pipes, so until I can add the appropriate code I'm commenting it out for BeOS. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59527 13f79535-47bb-0310-9956-ffa450edef68
* This change gets APR compiling on BeOS again. Some filename changesdreid1999-12-122-13/+11
| | | | | | | to accomodate having multiple common.c files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59513 13f79535-47bb-0310-9956-ffa450edef68
* Fix the logic in blocking vs non-blocking pipes to children. It onlyrbb1999-12-034-47/+40
| | | | | | | | makes sense to change the blocking attributes of a pipe if we actually are successful in creating the pipe. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59501 13f79535-47bb-0310-9956-ffa450edef68
* Fix a couple of files that need to include apr_config.h now. All of theserbb1999-12-011-0/+1
| | | | | | | are APR .c files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59497 13f79535-47bb-0310-9956-ffa450edef68
* Update some dependancies. Move the final two files out of apr/inc and intorbb1999-11-231-1/+0
| | | | | | | | apr/include. Basically just finish some cleanup from some changes I've been making over the last two days. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59485 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the APRFile uses in Apache. Also removed the apr.h header filerbb1999-11-171-1/+14
| | | | | | | | because it is no longer used. Finally, I updated the dependancies to compile cleanly. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59480 13f79535-47bb-0310-9956-ffa450edef68
* hange the way that we test for the size of ssize_t, using code suggested bydreid1999-11-135-251/+21
| | | | | | | | | | | Ralf after I found that the test failed on FreeBSD. Update the mmap code to use a much simpler API than previously. I'll add documentation as well as support for this in http_core.c over the weekend. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59473 13f79535-47bb-0310-9956-ffa450edef68
* Fix a logic error for mmap on unix. Basically, if you are going to check forrbb1999-11-103-15/+29
| | | | | | | | | | the existance of an autoconf generated defintion, the check must be after you include all of your header files. Also, you must include apr_config.h. Lastly, include statements for system headers should ALWAYS be wrappered but #ifdef's checking for the availability of those header files. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59467 13f79535-47bb-0310-9956-ffa450edef68
* This adds a new mmap function for both BeOS and unix.dreid1999-11-046-6/+81
| | | | | | | Also a couple of small corrections to previous code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59453 13f79535-47bb-0310-9956-ffa450edef68
* Add more functions to the APR mmap.dreid1999-11-036-7/+143
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59443 13f79535-47bb-0310-9956-ffa450edef68
* Remake the unix dependencies.manoj1999-10-301-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59426 13f79535-47bb-0310-9956-ffa450edef68
* Don't try to compile mmap functions if the platform doesn't have mmap.bjh1999-10-241-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59412 13f79535-47bb-0310-9956-ffa450edef68
* Add a .cvsignore file to the Unix mmap section of APRmanoj1999-10-231-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59407 13f79535-47bb-0310-9956-ffa450edef68
* This set of changes adds the function ap_mmap_open_create which allowsdreid1999-10-214-29/+116
| | | | | | | | | | | | | | an ap_file_t to be mmap'd. This was requested and so here it is. Test program has been updated to test this. Also mmap has now been added to the module list in configure.in so it will now be built. PR: Obtained from: Submitted by: david reid Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59402 13f79535-47bb-0310-9956-ffa450edef68
* The beginning of mmap support for APR. Still early days but what's heredreid1999-10-206-0/+548
has been tested and seems to work. Next is the ability to read/send an mmap'd file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59389 13f79535-47bb-0310-9956-ffa450edef68