summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'APR_0_9_3'.APR_0_9_3(no author)2003-03-313-259/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/tags/APR_0_9_3@64459 13f79535-47bb-0310-9956-ffa450edef68
* 0.9.3 is here, with build problems and global mutex issues resolved.wrowe2003-03-311-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64457 13f79535-47bb-0310-9956-ffa450edef68
* We need to call apr_proc_mutex_child_init, whichjim2003-03-301-1/+4
| | | | | | | is not a noop for some mutexes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64456 13f79535-47bb-0310-9956-ffa450edef68
* Note the 2 posixsem patchesjim2003-03-271-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64455 13f79535-47bb-0310-9956-ffa450edef68
* At configure time disable Posix sem forjim2003-03-271-0/+2
| | | | | | | | those platforms where we can't/shouldn't shove a sem_t * into an int -- bluntly reported by Joe Orton git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64454 13f79535-47bb-0310-9956-ffa450edef68
* Bugz 17186jim2003-03-271-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64453 13f79535-47bb-0310-9956-ffa450edef68
* Win32 needs to do nothing if the file handle is already open in a childwrowe2003-03-271-18/+51
| | | | | | | | | | | | | | | | | | process, and we are using anonymous proc_mutex or global_mutex methods, so win32 should return APR_SUCCESS for proc_mutex_child_init. We also introduced the kernel 'object' folding function for shared memory section names, so reuse that folding function here to provide reliable Win2K/XP names (prefixed with \global\) and fold away any slashes or backslashes from that path. Based on issues observed by "Andre Schild" <A.Schild@aarboard.ch> with the httpd mod_ssl implementation for Win32, with input from Andre and JimJ. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64452 13f79535-47bb-0310-9956-ffa450edef68
* Comment what res_name_from_filename is doingwrowe2003-03-271-0/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64451 13f79535-47bb-0310-9956-ffa450edef68
* Ignore the availablity of threads on HPUX, they aren't trustworthywrowe2003-03-242-0/+10
| | | | | | | | | | | based on much discussion on dev@apr, and Madhu pointed out that they had their own threads implementation that was abandoned in HPUX 11, and therefore not worth implementing. PR: 9457 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64450 13f79535-47bb-0310-9956-ffa450edef68
* Add tests for APR_{U,}INT64_T_FMT and apr_strerror.jorton2003-03-241-0/+30
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64449 13f79535-47bb-0310-9956-ffa450edef68
* static main() doesn't worktrawick2003-03-241-1/+1
| | | | | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64448 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in apr-config when symlinks are involved.jerenkrantz2003-03-232-7/+11
| | | | | | | | Submitted by: Garrett Rooney <rooneg@electricjellyfish.net> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64447 13f79535-47bb-0310-9956-ffa450edef68
* Fix for multiple fixes to __attribute__ which conflicts for 3rd partywrowe2003-03-233-1/+7
| | | | | | | | | | builds, such as mod_perl. Let's only override this tag if a macro workaround wasn't already defined. Submitted by: Stas Bekman git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64446 13f79535-47bb-0310-9956-ffa450edef68
* On to 0.9.3-devwrowe2003-03-222-2/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64445 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for 0.9.2 tagwrowe2003-03-222-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64443 13f79535-47bb-0310-9956-ffa450edef68
* Revert my recent change that concerns both Jeff Trawick and myself,wrowe2003-03-221-12/+6
| | | | | | | | | | | | | we will make no presumtion that fd 0..2 are special cases from apr_file_dup(), and remain uninherited as in the previous release of APR. Although it's a common Unix construct to; close(2) fd = dup(2, x) it's certainly not portable and shouldn't be encouraged. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64442 13f79535-47bb-0310-9956-ffa450edef68
* Given two solutions to the current mpm inheritence bugs,wrowe2003-03-221-8/+10
| | | | | | | | | | | | | | | | | 1) track the target file's existing flags and register the proper sort of cleanup (a bug in the new design) or 2) revert to the previous behavior and retain the existing cleanup I've gone with option 2, since Joe Orton has expressed concern with introducing too many changes in the coming release. However, this implies that; apr_file_close(fd1); apr_file_dup2(fd1, fd2); is absolutely unsupported. Since it wouldn't work on Win32 in the first place, I'm not terribly concerned about this limitation. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64441 13f79535-47bb-0310-9956-ffa450edef68
* dup2() is supported on NetWarebnicholes2003-03-201-8/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64440 13f79535-47bb-0310-9956-ffa450edef68
* Need to resolve the #define APR_INHERIT that is being used as a flagbnicholes2003-03-201-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64439 13f79535-47bb-0310-9956-ffa450edef68
* Clean up status, noting the pending release, splitting showstopperswrowe2003-03-201-16/+9
| | | | | | | | | into 0.9 and 1.0 categories, and knocking off one issue on Win32 that was fixed by closing apr_proc_t::hproc under the same conditions as unix would prune zombie processes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64438 13f79535-47bb-0310-9956-ffa450edef68
* Quick entry about the inheritence issues.wrowe2003-03-201-0/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64437 13f79535-47bb-0310-9956-ffa450edef68
* Fix "unused variable" compiler warning in apr_file_dup2 and eliminatejorton2003-03-191-6/+1
| | | | | | | local variable in apr_file_dup. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64436 13f79535-47bb-0310-9956-ffa450edef68
* Same fixes for netware as unix in pipe.cwrowe2003-03-191-1/+3
| | | | | | | | BTW - that code *definately* violates the style guide; either repeat the assignments or indent the second line!!! git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64435 13f79535-47bb-0310-9956-ffa450edef68
* apr_os_pipe_put() (where is the _file in that symbol name?) registerswrowe2003-03-191-1/+1
| | | | | | | | no cleanup - so enforce APR_FILE_NOCLEANUP to force apr_file_inherit_[un]set to choke. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64434 13f79535-47bb-0310-9956-ffa450edef68
* Keep screaming about these bogus assumptions until they disappear.wrowe2003-03-191-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64433 13f79535-47bb-0310-9956-ffa450edef68
* /me reverts an entirely moronic patch - this was a macro declarationwrowe2003-03-191-10/+8
| | | | | | | and the exact sequence is critical. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64432 13f79535-47bb-0310-9956-ffa450edef68
* Simply move a declaration to make the CLOEXEC patch much easier to read.wrowe2003-03-191-8/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64431 13f79535-47bb-0310-9956-ffa450edef68
* We register no cleanups for files with APR_FILE_NOCLEANUP - reflect thatwrowe2003-03-191-0/+4
| | | | | | | by returning APR_EINVAL if the user attempts to toggle the inherit state. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64430 13f79535-47bb-0310-9956-ffa450edef68
* Clean up a runover line, and reflect that apr_os_file_put() does notwrowe2003-03-191-2/+3
| | | | | | | register a cleanup whatsoever. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64429 13f79535-47bb-0310-9956-ffa450edef68
* A common sense logic change. If we are dup()ing or dup2()ingwrowe2003-03-191-4/+14
| | | | | | | | | | | | | | into one of the std[in|out|err] fd's - we should automatically toggle the inherit bit. If the user calls apr_file_inherit_set() again it will be a noop. This brings Unix into line with Win32's implementation of dup. If folks feel we should *only* apply this code to which_dup==2 cases, that's fine with me; although close(1); dup(n) would generally create a new fd 1 on unix, that code isn't portable to Win32 and should be strongly discouraged. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64428 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #5 of the evening; always register the proper child_cleanupwrowe2003-03-191-1/+3
| | | | | | | in apr_file_setaside(), based on the ->flags of the fd being set-aside. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64427 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #4 of the evening; it is altogether possible for the user to havewrowe2003-03-191-9/+13
| | | | | | | | | | | | | called apr_file_close() against the original handle, and then invoke apr_file_dup2(). However, in that case the apr_file_t has already been unregistered from the cleanups. Always register a cleanup within _file_dup(), yet kill any remaining cleanup for the existing apr_file_t in the apr_file_dup2() situation. This also prevents double-registration, but in a more robust manner. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64426 13f79535-47bb-0310-9956-ffa450edef68
* apr_p[c]alloc always succeeds, exit()s or calls the user defined callback.wrowe2003-03-191-3/+0
| | | | | | | APR_ENOMEM checks are noops. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64425 13f79535-47bb-0310-9956-ffa450edef68
* Break the initial *new_file NULL checkwrowe2003-03-191-12/+12
| | | | | | | | | | | | | | | | | apart to solve two major bugs. 1) APR attempts to defer creation of objects until the underlying atomic call actually succeeds - in this case, dup() for the apr_file_dup() flavor (which_dup == 1). 2) APR cannot trust the LHS point passed in via apr_file_dup(), nowhere else do we require the user to 'NULL' out the target variable. This patch always creates a new apr_pcalloc() for apr_file_dup() ignoring the old value of *new_file. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64424 13f79535-47bb-0310-9956-ffa450edef68
* Bug Fix #1 .. Move the special-case of Netware into _dup_file() wherewrowe2003-03-191-4/+8
| | | | | | | | | it belongs (this will be evident in bug #2). The patch fixes a fd leak on Netware where each call to apr_file_dup2 failed to close the original fd. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64423 13f79535-47bb-0310-9956-ffa450edef68
* Define a printf format and format length for apr_uint64_t.brane2003-03-185-0/+27
| | | | | | | | Also define APR_INT64_T_FMT_LEN on Windows and Netware; Unix already defines that symbol. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64422 13f79535-47bb-0310-9956-ffa450edef68
* Document an obvious problem lacking a simple solution - if we simplywrowe2003-03-181-0/+7
| | | | | | | | propogate flags as passed without enforcing their values - the rest of APR code will make invalid assumptions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64421 13f79535-47bb-0310-9956-ffa450edef68
* Just an observation pointed out by rbb.wrowe2003-03-171-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64420 13f79535-47bb-0310-9956-ffa450edef68
* * include/apr_pools.hstriker2003-03-111-0/+3
| | | | | | | | Add a comment about the order in which cleanups are run. This has been the case for quite a while, but was never documented. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64419 13f79535-47bb-0310-9956-ffa450edef68
* Default spawned threads to detached so we avoid hanging on a waitpid() callbnicholes2003-03-101-1/+1
| | | | | | | since NetWare doesn't yet have a way to kill a spawned NLM. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64418 13f79535-47bb-0310-9956-ffa450edef68
* Hmmm... said docs exist now.wrowe2003-03-101-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64417 13f79535-47bb-0310-9956-ffa450edef68
* A very fast pass through the new debugging symbols and top level projects.wrowe2003-03-102-4/+65
| | | | | | | Needs *much* more work. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64416 13f79535-47bb-0310-9956-ffa450edef68
* * mmap/unix/mmap.cstriker2003-03-101-1/+1
| | | | | | | (apr_mmap_create): Return errno instead of APR_ENOMEM. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64415 13f79535-47bb-0310-9956-ffa450edef68
* Drop .dbg extraction from libapr.dll. Complete debug symbols are createdwrowe2003-03-101-14/+5
| | | | | | | | as libapr.pdb which is sufficient for 99% of all purposes (see dev@ dialog on the problems and reasons for this change.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64414 13f79535-47bb-0310-9956-ffa450edef68
* Misordered - back in sync with libapr.dspwrowe2003-03-101-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64413 13f79535-47bb-0310-9956-ffa450edef68
* Some sort of ctrl char bogosity to eliminatewrowe2003-03-101-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64412 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up langinfo checks: the results of these checks aren't exportedjorton2003-03-102-4/+3
| | | | | | | | via apr.h, so there is no need to use APR_FLAG_*, and no need to check for CODESET in configure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64411 13f79535-47bb-0310-9956-ffa450edef68
* One fewer namespace collisions (effective with 1.0 of APR)wrowe2003-03-071-2/+1
| | | | | | | Submitted by: Craig Rodrigues <rodrigc@attbi.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64410 13f79535-47bb-0310-9956-ffa450edef68
* Fix the 'test_buffered_write_size' test by ensuring that bufferedbrane2003-03-071-0/+6
| | | | | | | | | files are flushed before calling fstat. [Port of jorton's rev. 1.65 commit of apr/file_io/unix/filestat.c] git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64409 13f79535-47bb-0310-9956-ffa450edef68
* Check for nl_langinfo and friends at configure time, and includebrane2003-03-072-0/+7
| | | | | | | | | apr_private.h in misc/unix/charset.c so that the Unix version of apr_os_locale_encoding actually has a chance to return something different from apr_os_default_encoding. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64408 13f79535-47bb-0310-9956-ffa450edef68