summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagAPACHE_2_0_24(no author)2001-08-1711-4191/+25
| | | | | | 'APACHE_2_0_24'. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/tags/APACHE_2_0_24@62190 13f79535-47bb-0310-9956-ffa450edef68
* Ugly, quick hack to get apr(-util) building without httpdwrowe2001-08-161-14/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62178 13f79535-47bb-0310-9956-ffa450edef68
* Gobble our local .rc autogeneration script, instead of httpd-2.0'swrowe2001-08-161-5/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62177 13f79535-47bb-0310-9956-ffa450edef68
* Just for us (apr/apr-util) - independent of Apache.wrowe2001-08-161-0/+106
| | | | | | | | We still need two of these unless we plan on growing a whole lot more (generally repetitive) arguments to this script git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62176 13f79535-47bb-0310-9956-ffa450edef68
* Silence autogenerated fileswrowe2001-08-161-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62175 13f79535-47bb-0310-9956-ffa450edef68
* Slight of fingers - fix my typo of the last revisionwrowe2001-08-161-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62174 13f79535-47bb-0310-9956-ffa450edef68
* Short term hack, this works only for httpd-2.0 builds. I'll revert outwrowe2001-08-161-0/+36
| | | | | | | | | | | after pushing tag. This reiterates the horrid situation - we STILL are missing an apr_release.h and we can't take ourselves seriously as a library project until we get around to fixing this issue. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62173 13f79535-47bb-0310-9956-ffa450edef68
* Reorder the shared memory preferences to match what MM originally had.jerenkrantz2001-08-161-12/+27
| | | | | | | | | | | | | | | | | | | | | This effectively backs out rbb's earlier commit which was valid then because we weren't treating Linux as special. Now, since older versions of Linux are safe, we should go back to the original order. We now safeguard MAP_ANON usage to only be used with >=2.4.0 Linux kernels. On Linux versions less than that, we will not use MAP_ANON because Linux lies and says it has it when it doesn't. I am sure that we could fine tune the >=2.4.0 to match the specific 2.3 version that this was fixed in. (This may very well be a glibc issue as well...) On Linux 2.2 (Mandrake 7.2 distro), we choose shmget. On Linux 2.4 (Mandrake 8.0 distro), we choose mmap with MAP_ANON. Please try out. It works here. If this needs a glibc check instead, let me know and we can work something out. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62172 13f79535-47bb-0310-9956-ffa450edef68
* Remove variable that is no longer needed since we no longer depend on MM.jerenkrantz2001-08-161-2/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62171 13f79535-47bb-0310-9956-ffa450edef68
* fix some homophonic issues in comments, as well as sometrawick2001-08-158-8/+8
| | | | | | | | | | mispelings found near "its" or "it's" (helping our 4th grader with homework, couldn't help but grep) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62170 13f79535-47bb-0310-9956-ffa450edef68
* APR doesn't need to define union semun for apps; thetrawick2001-08-152-13/+1
| | | | | | | | | | | | | logic didn't work quite right anyway we had NEED_UNION_SEMUN vs. APR_HAVE_UNION_SEMUN mixed up we included sys/sem.h when we didn't need to define union semun but we'd need it the header file if we tried to define it so that struct semid_ds would be defined git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62169 13f79535-47bb-0310-9956-ffa450edef68
* Previously, we considered gethostbyname/gethostbyaddr to betrawick2001-08-152-2/+14
| | | | | | | | | | | | | | thread-safe if they were found in libc_r. This didn't work on OS/390 since there is no libc_r, but they are thread-safe. Now, variables apr_gethostbyname_is_thread_safe or apr_gethostbyaddr_is_thread_safe can be set to bypass the libc_r check, either to state that they are thread-safe or to state that they aren't (not necessary unless the ones in libc_r aren't thread-safe after all). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62168 13f79535-47bb-0310-9956-ffa450edef68
* get rid of boatloads of warnings on Darwintrawick2001-08-151-1/+1
| | | | | | | | | | apparently, cc first tries an Apple-provided cpp which barfs on a lot of C stuff in our code; when it barfs, cc backs off to the GNU cpp; this avoids trying the Apple-provided cpp first git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62167 13f79535-47bb-0310-9956-ffa450edef68
* Allow for OS/2 in shared memory type test.bjh2001-08-151-1/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62166 13f79535-47bb-0310-9956-ffa450edef68
* don't do arithmetic with void *trawick2001-08-151-3/+3
| | | | | | | | this definitely clears up warnings on Tru64 and should get APR building again on HP-UX, where this is an error git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62165 13f79535-47bb-0310-9956-ffa450edef68
* add testdir, testhash; remove abtrawick2001-08-151-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62164 13f79535-47bb-0310-9956-ffa450edef68
* Added the NetWare OS specific headers for threadproc and locksbnicholes2001-08-152-0/+174
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62163 13f79535-47bb-0310-9956-ffa450edef68
* Applied changes made to apr.h on other platforms that didn't make itbnicholes2001-08-151-0/+12
| | | | | | | in NetWare git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62162 13f79535-47bb-0310-9956-ffa450edef68
* Remove all warnings from the shared memory code.rbb2001-08-141-4/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62161 13f79535-47bb-0310-9956-ffa450edef68
* Fix the new shared memory code. We need to pass a pointer torbb2001-08-142-3/+7
| | | | | | | | | | an apr_file_t to apr_file_open. Also, apr_os_file_get returns a status value, not the OS file descriptor. This gets Apache running again on Linux. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62160 13f79535-47bb-0310-9956-ffa450edef68
* Fix the new shared memory configure script. The APR_DECIDErbb2001-08-142-12/+20
| | | | | | | | | | | | macros go in order, so the last set of dependancies that are met are the ones used. That means that when using those macros, options should be listed with the least desirable option first, and the most desirable last. The new shared memory routines did the opposite, so we chose the wrong shared memory option on Linux. CS: Obtained from: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62159 13f79535-47bb-0310-9956-ffa450edef68
* Next batch of moving the docs from ScanDoc to DoxyGen.rbb2001-08-146-101/+125
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62158 13f79535-47bb-0310-9956-ffa450edef68
* Fix warnings.fielding2001-08-131-17/+21
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62157 13f79535-47bb-0310-9956-ffa450edef68
* More fallout from MM's departure.jerenkrantz2001-08-133-3/+7
| | | | | | | | | | - Fix buildconf to not build MM's configure - Add the line in apr.h.in for MAP_ANON mmap usage - Fix munmap to have the right parameters - Add APR_WANT_MEMFUNC to import memset in shmem.c. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62156 13f79535-47bb-0310-9956-ffa450edef68
* Move the necessary shared memory code from MM into APR and remove ourjerenkrantz2001-08-138-201/+320
| | | | | | | | | | | | | | | | | | | dependency upon MM. (This commit does not delete the MM files - they are still there for the time being.) MM has a bunch of features that we do not need (locking, three different APIs, etc, etc, etc.) Also clean up the migrated code while I'm at it to be cleaner. This code works on Solaris with shmget. I'll be testing it again with Linux in a few. This really needs to get hammered to make sure that I didn't miss anything. This gets us moving in the right direction. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62155 13f79535-47bb-0310-9956-ffa450edef68
* LINK shouldn't include ALL_LIBS; that puts -lm -lcrypt -lwhatever beforetrawick2001-08-131-1/+1
| | | | | | | | | -o target, which some link commands can't handle; also, it left us with a lot of duplicate libraries on link invocations since our Makefiles specify the libraries to include too git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62154 13f79535-47bb-0310-9956-ffa450edef68
* Get apr_file_lock and apr_file_unlock working on Win9x. Not tested.stoddard2001-08-132-6/+25
| | | | | | | | Submitted by: Mladen Turk Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62153 13f79535-47bb-0310-9956-ffa450edef68
* Make all APR pools be allocated out of the permanent pool.rbb2001-08-133-3/+10
| | | | | | | | | | | This brings APR pools back to a tree structure. There are no longer any way to create a pool that is not a decendant of the permanent_pool. PR: 7891 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62152 13f79535-47bb-0310-9956-ffa450edef68
* Ignore the dox directoryrbb2001-08-131-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62151 13f79535-47bb-0310-9956-ffa450edef68
* Accidentally remove the pool accessor.rbb2001-08-121-0/+7
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62150 13f79535-47bb-0310-9956-ffa450edef68
* Ian reports that I missed this line. :-)rbb2001-08-121-0/+1
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62149 13f79535-47bb-0310-9956-ffa450edef68
* Peter Moore reported this small typo...dreid2001-08-121-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62148 13f79535-47bb-0310-9956-ffa450edef68
* Add the rest of the doxygen changes for APR.rbb2001-08-129-187/+288
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62147 13f79535-47bb-0310-9956-ffa450edef68
* Argh! Ian told me about this, but I forgot before I committed.rbb2001-08-121-1/+1
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62146 13f79535-47bb-0310-9956-ffa450edef68
* Setup APR to use doxygen instead of ScanDoc.rbb2001-08-125-1862/+21
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62145 13f79535-47bb-0310-9956-ffa450edef68
* Add doxygen work for SMS code.rbb2001-08-122-21/+47
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62144 13f79535-47bb-0310-9956-ffa450edef68
* First pass at making apr_portable.h use doxygen.rbb2001-08-121-7/+18
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62143 13f79535-47bb-0310-9956-ffa450edef68
* These two pool functions were declared twice in apr_pools.h. This bringsrbb2001-08-121-16/+0
| | | | | | | | us back down to just declaring them once. Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62142 13f79535-47bb-0310-9956-ffa450edef68
* Begin to move the APR documentation to Doxygen.rbb2001-08-113-57/+91
| | | | | | | Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62141 13f79535-47bb-0310-9956-ffa450edef68
* It is possible to have pthread.h without having threads enabled. Thejerenkrantz2001-08-111-3/+0
| | | | | | | | | | | | pthread.h header has more than thread-specific functions in it. Imagine trying to use pthread_mutex_t for the cross-process mutex without having threading enabled. (The configure script won't allow that, but that's coming up next.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62140 13f79535-47bb-0310-9956-ffa450edef68
* Wrap all APR functions in APR_DECLARE macro.rbb2001-08-1042-421/+426
| | | | | | | Submitted by: Sterling Hughes <sterling@designmultimedia.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62139 13f79535-47bb-0310-9956-ffa450edef68
* Changed the create thread flags due to changes in the NetWare threading APIsbnicholes2001-08-101-4/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62138 13f79535-47bb-0310-9956-ffa450edef68
* Added a call to socket() in apr_socket_create() that is not hard coded to TCPbnicholes2001-08-091-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62137 13f79535-47bb-0310-9956-ffa450edef68
* Implemented apr_getsocketopt() for NetWarebnicholes2001-08-091-0/+36
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62136 13f79535-47bb-0310-9956-ffa450edef68
* don't destroy an APR lock which wasn't successfully created;trawick2001-08-091-2/+0
| | | | | | | this fixes a segfault reported by Shail Bhatnagar <shbhatna@cisco.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62135 13f79535-47bb-0310-9956-ffa450edef68
* Don't use the name "socket" because certain GCC settings warn aboutgstein2001-08-081-2/+2
| | | | | | | shadowing the global function socket() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62134 13f79535-47bb-0310-9956-ffa450edef68
* Fix a segfault on Win32 when hostname resolution fails. We were lookingjwoolley2001-08-081-1/+1
| | | | | | | | | up the error but forgot to actually return with that error number. Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62132 13f79535-47bb-0310-9956-ffa450edef68
* Clean up two warnings:jwoolley2001-08-081-2/+2
| | | | | | | | | | | | | | | | | | | Warning #1 may or may not have ever existed (my mind is a blur), but this change seems to be the most sensible way to go anyhow. The len parameter to getsockopt() seems to most want to be an apr_socklen_t in order to get along with all platforms. Warning #2 I definitely saw on Solaris 2.6, which was that parm 4 to getsockopt() was an incompatible pointer type. That's funky, because we were passing in an int* to a function that generally expects a void*. Right? Wrong, not in this case. Solaris 2.6 ifndef _XPG4_2 (and possibly Win32 as well according to msdn.microsoft.com) expect a char*! That's wacky. Anyway, casting the int* to a char* makes these platforms happy (ugly though it is), and the sane platforms that just take a void* could care less either way. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62131 13f79535-47bb-0310-9956-ffa450edef68
* get sockets.c to compile and fix a bug in the error pathtrawick2001-08-081-2/+3
| | | | | | | | | from getsockopt() (not tested... 2 yr old is begging for a walk :) ) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62130 13f79535-47bb-0310-9956-ffa450edef68
* Finish the fix for the non-blocking connect. Basically, we need torbb2001-08-071-0/+8
| | | | | | | | | | query the socket to find the actual error if the connect failed. This is done using getsockopt with the SO_ERROR option. If error == 0, then the connect succeeded, else error is the connect errno value. Submitted by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62129 13f79535-47bb-0310-9956-ffa450edef68