summaryrefslogtreecommitdiff
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of the new line.stoddard2000-04-241-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59946 13f79535-47bb-0310-9956-ffa450edef68
* Fix some problems on systems where EAGAIN != EWOULDBLOCK (e.g., OS/390).trawick2000-04-231-0/+5
| | | | | | | | | | ap_canonical_errror() for Unix now maps EWOULDBLOCK to EAGAIN/APR_EAGAIN when appropriate so that the changes here (as well as bjh's changes from a few days ago) to call ap_canonical_error() before comparing with EWOULDBLOCK will work on Unix as well. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59938 13f79535-47bb-0310-9956-ffa450edef68
* Add error code into BeOS.dreid2000-04-222-2/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59929 13f79535-47bb-0310-9956-ffa450edef68
* Bring BeOS APR back into a working state.dreid2000-04-222-8/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59928 13f79535-47bb-0310-9956-ffa450edef68
* Remove EBADARGS to fix compile breakstoddard2000-04-221-2/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59926 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.rbb2000-04-227-13/+32
| | | | | | | | 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
* Win32: Get mod_auth_digest compiling and added to the Windowsstoddard2000-04-211-0/+2
| | | | | | | | build environment. Not tested and I'd be suprised if it actually works. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59919 13f79535-47bb-0310-9956-ffa450edef68
* Eliminate compile warningstoddard2000-04-211-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59915 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Begin adding ap_strerror and ap_canonicalize_error to APR. Serverstoddard2000-04-212-0/+232
| | | | | | | will compile and serve pages again! git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59914 13f79535-47bb-0310-9956-ffa450edef68
* Remove the invalid data checking from APR's file I/O on Unix.rbb2000-04-211-2/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59912 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Ooops, forgot aprlib.c to make the linker happy.stoddard2000-04-212-0/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59910 13f79535-47bb-0310-9956-ffa450edef68
* misc/unix is used on OS/2 as well, prevent unix ap_canonical_error() frombjh2000-04-211-0/+4
| | | | | | | conflicting with OS/2 version. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59909 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of the nasty side-effect macro.gstein2000-04-201-17/+16
| | | | | | | Add "static" and rename the OS/2 apr_os_strerror() function. Minor reformat. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59908 13f79535-47bb-0310-9956-ffa450edef68
* Fix an ugly macro.rbb2000-04-201-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59907 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Fix compile break caused by the recent ap_strerror patch.stoddard2000-04-201-0/+65
| | | | | | | | Move APR dependent code out of ap_config.hw and into misc/win32/misc.h. Include misc.h where needed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59905 13f79535-47bb-0310-9956-ffa450edef68
* Add ap_canonical error for unix.rbb2000-04-202-1/+61
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59904 13f79535-47bb-0310-9956-ffa450edef68
* Get APR's misc/unix building cleanly on OS/2 using include paths to getbjh2000-04-203-12/+15
| | | | | | | | the correct version of header files from other APR modules. This removes the need for a string of platform #ifdefs. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59903 13f79535-47bb-0310-9956-ffa450edef68
* Add error messages for OS/2 error codes.bjh2000-04-201-2/+45
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59899 13f79535-47bb-0310-9956-ffa450edef68
* add a missing const. wrap some lines. add parse-safety to SYS_ERR_STRING.gstein2000-04-191-5/+11
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59895 13f79535-47bb-0310-9956-ffa450edef68
* First pass at ap_strerrot. This is probably broken somewhere, but it compilesrbb2000-04-192-1/+157
| | | | | | | | on Linux, and seems to work most of the time. This also provides an error string for every APR error and status code. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59894 13f79535-47bb-0310-9956-ffa450edef68
* APR_ENOCONT doesn't make any sense without contexts. Replaced them all withrbb2000-04-193-7/+7
| | | | | | | APR_ENOPOOL git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59892 13f79535-47bb-0310-9956-ffa450edef68
* Include unistd.h to get read() prototype on FreeBSD.trawick2000-04-181-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59879 13f79535-47bb-0310-9956-ffa450edef68
* Here's my first stab at getting mod_auth_digest working under 2.0stoddard2000-04-153-1/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | quick change summary: - moved the random byte generation into APR This patch adds ap_generate_random_bytes() - now uses ap_time_t - compiles and runs on linux - tested with amaya still to do: - test win32 (This will have to be someone with a windows box :-) I think I did everything correctly. APR_HAS_RANDOM should be defined on windows and there is a lib/apr/misc/win32/rand.c which is basically a copy of what mod_auth_digest used to use. - error handling cleanup Since there is not currently a usable ap_strerror it is commented out. win32 error handling is virtually non-existant. I just don't know enough about win32 to touch this stuff. Brian Submitted by: Brian Martin Reviewed by: Bill Stoddard (very quick review, moving in right direction) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59866 13f79535-47bb-0310-9956-ffa450edef68
* Get Windows compiling after the ap_context_t --> ap_pool_t changestoddard2000-04-142-15/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59857 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesrbb2000-04-1411-40/+30
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* Add forgotten curly bracesmartin2000-04-141-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59850 13f79535-47bb-0310-9956-ffa450edef68
* namespace cleanup in locks/unixdgaudet2000-04-141-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59847 13f79535-47bb-0310-9956-ffa450edef68
* more documentation movementdgaudet2000-04-144-134/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59841 13f79535-47bb-0310-9956-ffa450edef68
* Win32: A few more tweaks to the late binding code as suggested by Greg Steinstoddard2000-04-131-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59835 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Small tweak to the late binding codestoddard2000-04-131-3/+4
| | | | | | | | Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59834 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Add code to perform latebinding on functions that maystoddard2000-04-131-0/+22
| | | | | | | | | | | | | not exist on all levels of Windows where Apache runs. This is needed to allow Apache to start-up on Win95/98. All calls to non portable functions should be protected with ap_oslevel checks to prevent runtime segfaults. Submitted by: William Rowe Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59833 13f79535-47bb-0310-9956-ffa450edef68
* Update the error handling in APR. This includes the docs in APRDesign.rbb2000-04-072-1/+2
| | | | | | | | Any platform that doesn't use errno as error codes are not working properly and will need to be modified. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59814 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Fix a bug in ap_get_oslevel which causes GetVersionEx() tostoddard2000-04-071-1/+33
| | | | | | | | | | | | | | | | | always fail. Need to initialise the dwOSVersionInfoSize member of the OSVERSIONINFO struct before calling GetVersionEx, so GetVersionEx always fails. The patch also enhances ap_get_oslevel (and the associated enum) to handle selected service packs for NT4, and adds recognition for Windows 2000. This is useful, eg. if we can recognise NT4 SP2 then we can use ReadFileScatter and WriteFileGather in readwrite.c. Submitted by: Tim Costello Reviewed by: Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59813 13f79535-47bb-0310-9956-ffa450edef68
* Add more code sharing arrangements and a few minor updates/tweaks.dreid2000-04-055-27/+65
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59797 13f79535-47bb-0310-9956-ffa450edef68
* Add the other child stuff to beos, tidy up the test program a little anddreid2000-04-043-1/+193
| | | | | | | get the dso code building again. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59790 13f79535-47bb-0310-9956-ffa450edef68
* The Unix MPM's now use the other_child logic from APR.rbb2000-04-041-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59789 13f79535-47bb-0310-9956-ffa450edef68
* Update the other_child stuff with docs and a couple of minor changes.rbb2000-04-041-5/+35
| | | | | | | | There is other stuff that is necessary to make this a portable API, but this is a start. The rest will have to wait until tomorrow. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59788 13f79535-47bb-0310-9956-ffa450edef68
* Other child logic finished for Unix. Docs are forthcoming. This shouldrbb2000-04-042-18/+42
| | | | | | | for Apache, and those patches are also coming today. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59785 13f79535-47bb-0310-9956-ffa450edef68
* First cut at other child logic for unix. Test programs and more workrbb2000-04-043-7/+184
| | | | | | | on its way. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59784 13f79535-47bb-0310-9956-ffa450edef68
* Finish the APR naming cleanup. This removes the struct's fromrbb2000-04-036-17/+17
| | | | | | | | 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
* Eliminate apr_win.h and apr_winconfig.h (and the ugly #ifdefs they cause).stoddard2000-04-032-4/+2
| | | | | | | | | | | Now, apr.h and apr_config.h are generated from apr.hw and apr_config.hw at build time. At this point, the server will not compile on Windows because of the recent DSO commits. Fixing those next. Submitted by: Bill Rowe & Bill Stoddard git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59770 13f79535-47bb-0310-9956-ffa450edef68
* fix the rest of the struct foo_t to struct ap_foo_t. Next is removing therbb2000-04-039-20/+20
| | | | | | | 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-318-252/+245
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Tweaked APR initialization and termination so that the lifetimetrawick2000-03-283-7/+35
| | | | | | | | of memory management mutexes is longer than the lifetime of managed memory. APR apps must now call ap_terminate(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59746 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of WinTimeToUnixTime. Replace all instances of its use withstoddard2000-03-281-75/+0
| | | | | | | FileTimeToAprTime. Move timetest.c into the attic. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59744 13f79535-47bb-0310-9956-ffa450edef68
* More relics from the early days of APR that have no place in the moderndreid2000-03-221-4/+0
| | | | | | | world! This gets BeOS responding correctly to signals again. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59733 13f79535-47bb-0310-9956-ffa450edef68
* Fix warnings, update dependencies.ben2000-03-181-1/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59724 13f79535-47bb-0310-9956-ffa450edef68
* fix typofanf2000-03-161-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59719 13f79535-47bb-0310-9956-ffa450edef68
* Get Win32 working again after ap_getopt order changes.ake2000-03-151-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59710 13f79535-47bb-0310-9956-ffa450edef68
* Remove getopt.c following the previous change...dreid2000-03-151-140/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59707 13f79535-47bb-0310-9956-ffa450edef68