summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Re-instate jlibtool from deleted revision 1.5. Paperwork filed. All is well.Justin Erenkrantz2004-07-083-4/+1500
| | | | | | | | * configure.in: We now include jlibtool in our base distribution. * build/jlibtool.c: Restore deleted revision 1.5. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65273 13f79535-47bb-0310-9956-ffa450edef68
* * test/abts.c (abts_run_test): Avoid the malloc/free.Joe Orton2004-07-081-7/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65272 13f79535-47bb-0310-9956-ffa450edef68
* * build/apr_hints.m4 (APR_PRELOAD): Really, do, use a full path toJoe Orton2004-07-081-1/+1
| | | | | | | sysctl. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65271 13f79535-47bb-0310-9956-ffa450edef68
* * build/apr_hints.m4 (APR_PRELOAD): Use full path to sysctl in caseJoe Orton2004-07-081-1/+5
| | | | | | | | $PATH does not contain /sbin, or fail gracefully if /sbin/sysctl is missing. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65270 13f79535-47bb-0310-9956-ffa450edef68
* * build/apr_hints.m4 (APR_PRELOAD): Prevent use of kqueue beforeJoe Orton2004-07-071-1/+5
| | | | | | | FreeBSD 4.8 (thanks to Craig Rodrigues). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65269 13f79535-47bb-0310-9956-ffa450edef68
* Clean up leftover commentsBradley Nicholes2004-07-071-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65266 13f79535-47bb-0310-9956-ffa450edef68
* * poll/unix/poll.c (backend_cleanup): Only define if using epoll/kqueue.Joe Orton2004-07-072-7/+10
| | | | | | | | | | (apr_pollset_destroy): Only run cleanup if using epoll/kqueue. (apr_pollset_add): Fix warning for ye olde platforms still using poll(). * configure.in: Just check for kqueue() in an AC_CHECK_FUNCS. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65265 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that Winsock is started up properly for all NLMs that link to ↵Bradley Nicholes2004-07-061-0/+2
| | | | | | aprlib.nlm git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65263 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that Winsock is started up properly for all NLMs that link to ↵Bradley Nicholes2004-07-063-15/+106
| | | | | | aprlib.nlm git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65262 13f79535-47bb-0310-9956-ffa450edef68
* Add support for KQueue and sys_epoll to apr_pollset.Justin Erenkrantz2004-07-064-16/+384
| | | | | | | | | | (Justin tweaked the cleanup code from Paul's last posted patch.) Submitted by: Paul Querna Reviewed by: Justin Erenkrantz, Joe Orton git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65261 13f79535-47bb-0310-9956-ffa450edef68
* [Comment change only]: Allright. The warning was based on FreeBSD'sMartin Kraemer2004-07-051-13/+0
| | | | | | | | | | man pages, meant to make users aware of subtleties in the format of IP addresses on different platforms, but Joe Orton showed in the link http://www.opengroup.org/onlinepubs/009695399/functions/inet_ntop.html that FreeBSD is not right in that respect. Remove comment again. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65260 13f79535-47bb-0310-9956-ffa450edef68
* My excuses for the commit of jlibtool without prior discussion.Martin Kraemer2004-07-051-1496/+0
| | | | | | | | | | I was mistakenly thinking that it was okay to add Justin's jlibtool, because it was referenced in the configure.in script, even with its own switch, and by reference to apr's build/ directory. Plus, it worked purrfectly for our OSD/POSIX platform... git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65259 13f79535-47bb-0310-9956-ffa450edef68
* Update the license, plus minor portability changesMartin Kraemer2004-07-051-65/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65258 13f79535-47bb-0310-9956-ffa450edef68
* Support threading on FreeBSD 5.x where kern.osreldate >= 502102.Justin Erenkrantz2004-07-042-7/+12
| | | | | | | | | | | | | | | | | 5.3 will be the first release with this enabled by default (current -CURRENT will also be enabled); 5.2 and earlier still use the broken libc_r by default. Those people on 5.2 can pass --enable-threads and setup libmap.conf to use libkse instead. As for the 502102 magic number, from http://www.freebsd.org/doc/en/books/porters-handbook/freebsd-versions.html: "5.2-CURRENT after change of default thread library from libc_r to libpthread. 502102" Submitted by: Craig Rodrigues <rodrigc crodrigues.org> Reviewed by: Justin Erenkrantz, Aaron Bannert (concept) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65257 13f79535-47bb-0310-9956-ffa450edef68
* * build/rpm/apr.spec.in: Move installbuilddir toJoe Orton2004-07-011-13/+6
| | | | | | | | %{_libdir}/apr/build-1, remove unnecessary TZ setting for testall and old x86_64 pthreads workaround. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65256 13f79535-47bb-0310-9956-ffa450edef68
* Add an RPM spec file derived from Fedora Core.Graham Leggett2004-07-013-0/+122
| | | | | | | | | | PR: Obtained from: Submitted by: Reviewed by: jorton git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65255 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in (install): Install an apr-1-config script alongsideJoe Orton2004-07-011-1/+3
| | | | | | | apr-config, more parallel install safety. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65254 13f79535-47bb-0310-9956-ffa450edef68
* * build/get-version.sh: Fix handling of multi-digit versionJoe Orton2004-06-301-5/+5
| | | | | | | | | components. Submitted by: Joe Schaefer <joe+gmane sunstarsys.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65253 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in (install): Install the awk scripts & mkdir.sh for aJoe Orton2004-06-301-1/+1
| | | | | | | VPATH build too. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65251 13f79535-47bb-0310-9956-ffa450edef68
* * build/apr_rules.mk.in: Define APR_MKDIR macro.Joe Orton2004-06-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65250 13f79535-47bb-0310-9956-ffa450edef68
* * build/apr_rules.mk.in: Define APR_MKEXPORT and APR_MKVAREXPORT toJoe Orton2004-06-302-7/+14
| | | | | | | | | | | | point at each of the awk scripts (MKEXPORT wasn't used and pointed at the wrong filename). * Makefile.in (install): Make the installed apr_rules.mk point at the installed libtool and AWK scripts. (exports.c, export_vars.c): Use new APR_*EXPORT macros. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65249 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in, config.layout: Add -version suffix to defaultJoe Orton2004-06-302-2/+2
| | | | | | | installbuilddir directory. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65248 13f79535-47bb-0310-9956-ffa450edef68
* Add that RC2 was tagged. :-)David Reid2004-06-301-5/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65247 13f79535-47bb-0310-9956-ffa450edef68
* * test/teststr.c (string_strfsize, overflow_strfsize): AddJoe Orton2004-06-301-0/+62
| | | | | | | apr_strfsize() tests. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65246 13f79535-47bb-0310-9956-ffa450edef68
* The failure to delete the conditional lock ws causing a hang on BeOS, soDavid Reid2004-06-301-0/+2
| | | | | | | | | | delete the lock when we're done and all is well again. As the tests don't run in isolation there may be other places we should clean up better. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65245 13f79535-47bb-0310-9956-ffa450edef68
* * configure.in: Remove check for res_init again.Joe Orton2004-06-301-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65244 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in (install): Simplify stupid over-engineering.Joe Orton2004-06-301-8/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65243 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.in (APR_PCFILE): New target.Joe Orton2004-06-302-4/+10
| | | | | | | (install): Install pkgconfig .pc file with -N suffix. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65242 13f79535-47bb-0310-9956-ffa450edef68
* Get the correct setting for which locking mechanism to use.David Reid2004-06-291-2/+11
| | | | | | | | This gets the headers to agree with the actual code - which is usually a good thing :-) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65241 13f79535-47bb-0310-9956-ffa450edef68
* Generate a tag file.David Reid2004-06-291-0/+3
| | | | | | | | Submitted by: Bojan Smojver < bojan rexursive com > Reviewed by: David Reid git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65240 13f79535-47bb-0310-9956-ffa450edef68
* Destroy the shared memory once the test finishes.David Reid2004-06-291-1/+6
| | | | | | | Exit if we fail tests rather than pressing on. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65239 13f79535-47bb-0310-9956-ffa450edef68
* Bring over the display fix from apr-util.David Reid2004-06-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65238 13f79535-47bb-0310-9956-ffa450edef68
* If a test fails due to be not implemented, then record it as suchDavid Reid2004-06-291-3/+1
| | | | | | | and not a failure. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65237 13f79535-47bb-0310-9956-ffa450edef68
* Continue clearing my TODO list.David Reid2004-06-291-7/+21
| | | | | | | | This provides for better "naming" of anon areas, adds a missing function and tidies up some code. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65236 13f79535-47bb-0310-9956-ffa450edef68
* Allow shared memory to work across forks in the way it was intended.David Reid2004-06-292-0/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65235 13f79535-47bb-0310-9956-ffa450edef68
* Add support for BS2000 (_OSD_POSIX).Jean-Frederic Clere2004-06-291-0/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65234 13f79535-47bb-0310-9956-ffa450edef68
* Use libbind/libresolv when available. Check <sys/types.h> before checking ↵Martin Kraemer2004-06-291-1/+4
| | | | | | other special headers; Substitute INCLUDES git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65233 13f79535-47bb-0310-9956-ffa450edef68
* Add FreeBSD platform, and catch unsupported platforms by #error exitMartin Kraemer2004-06-291-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65232 13f79535-47bb-0310-9956-ffa450edef68
* Use standardized names for ISO-8859-1, see ↵Martin Kraemer2004-06-291-1/+1
| | | | | | | | | http://www.iana.org/assignments/character-sets (Using the name iso8859-1 may still work, because it is aliased in apr-iconv/ccs/charset.aliases) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65231 13f79535-47bb-0310-9956-ffa450edef68
* Commit the missing jlibtool.c from Justin's ↵Martin Kraemer2004-06-291-0/+1472
| | | | | | | | | | | | | | http://www.apache.org/~jerenkrantz/jlibtool.c -- It was referenced by "configure --enable-experimental-libtool" already. Also, it helps in building on platforms not directly supported by libtool (for those, libtools behaves utterly stupidly). Obtained from: http://www.apache.org/~jerenkrantz/jlibtool.c Reviewed by: <jfclere apache.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65230 13f79535-47bb-0310-9956-ffa450edef68
* Avoid any edge case or clib bug that might result in a stringWilliam A. Rowe Jr2004-06-281-3/+6
| | | | | | | | overflow of the fixed 5-byte buffer for our size function. Returns the '****' string when the buffer would overflow. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65226 13f79535-47bb-0310-9956-ffa450edef68
* Simplify excessive copies when the string isn't transformed to upper.William A. Rowe Jr2004-06-281-6/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65224 13f79535-47bb-0310-9956-ffa450edef68
* Incorporate suggested changes from Martin Kraemer and Will Rowe.David Reid2004-06-281-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65223 13f79535-47bb-0310-9956-ffa450edef68
* Fix apr_snprintf() to respect precision for small floating pointJeff Trawick2004-06-273-1/+24
| | | | | | | | | | numbers. PR: 29621 Submitted by: Artur Zaprzala <zybi talex.pl> Reviewed by: Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65222 13f79535-47bb-0310-9956-ffa450edef68
* * include/apr_file_info.h: Move new APR_USETID, APR_GSETID andJoe Orton2004-06-251-3/+3
| | | | | | | | | | APR_WSTICKY constants outside 0xFFF so they are not implied by APR_OS_DEFAULT. Submitted by: Greg Hudson <ghudson MIT.EDU> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65219 13f79535-47bb-0310-9956-ffa450edef68
* Reminder for bugginessMartin Kraemer2004-06-251-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65218 13f79535-47bb-0310-9956-ffa450edef68
* add missing mention of a bug fixJeff Trawick2004-06-231-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65217 13f79535-47bb-0310-9956-ffa450edef68
* sync with 0.9 branchJeff Trawick2004-06-231-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65216 13f79535-47bb-0310-9956-ffa450edef68
* fix a dangling commaJeff Trawick2004-06-231-1/+1
| | | | | | | | (jorton mentioned "dangling slash" when I posted to the list; I never saw what was dangling until after committing :) ) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65214 13f79535-47bb-0310-9956-ffa450edef68
* Add command type APR_SHELLCMD_ENV for creating a processJeff Trawick2004-06-235-8/+25
| | | | | | | | | | | | | | | which is started by the shell and which inherits the parent's environment variables. The immediate use for this is with Apache httpd's piped loggers, correcting a regression since 1.3. In general, applications starting child processes often want the child to run with the same environment variables, so this plugs a hole in the API. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65213 13f79535-47bb-0310-9956-ffa450edef68