| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
uid/gid for newly created processes using apr_proc_create.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125349 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@124815 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted By: Colm MacCarthaigh
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@124752 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Tested On: OS X, FreeBSD, NetBSD and Linux.
Needs more Platform Specific Code: Netware, Windows
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@123883 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@112259 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
filters, except defer accept isn't documented, anywhere.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111595 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
writev() in the !HAVE_WRITEV case, and a large comment
explaining why we cannot use a better method without breaking writev()'s semantics.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111571 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111496 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111458 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
APR_FPROT_UWRITE, etc.) to have prefix APR_FPROT_ (keeping the
old defines)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111457 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111413 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
is linking with libtool.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@111346 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
completely written to the file.
* include/apr_file_io.h: Define APR_MAX_IOVEC_SIZE
Add public def for apr_file_writev_full.
* file_io/unix/readwrite.c: For systems without writev, ensure that they get
the correct number of bytes written.
* test/*: Add a new test for apr_file_writev_full.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@109843 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
* file_io/unix/readwrite.c: Try to write all iovecs out on platforms without writev.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@109832 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
The input buffer had already been cleared by the
time the length of the input buffer was checked,
so overflow was never reported.
Add a comment about the length checking to the docs.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@107007 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
PR: 25718
Submitted By: Mike Silbersack <silby silby.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106850 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
APR_FOPEN_ (keeping the old defines)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106663 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
on platforms that support them.
Tested On: Linux 2.6 (libuuid) and FreeBSD 5.2.1 (libc has uuid_create)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106214 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
a backend to APR Pollset.
Best Docs: http://developers.sun.com/solaris/articles/event_completion.html
I have only been able to test this on Solaris 10 on x86 with gcc.
If anyone could test on Sparc with other compilers that would be great.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106156 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added the APR_POLLSET_THREADSAFE flag for apr_pollset_create().
The flag is only supported by the KQueue or EPoll backends at this time.
All others should return ENOTIMPL.
Split poll/unix/poll.c into one file for each backend to better maintain them.
Tested On: FreeBSD 5.2.1, Linux 2.6 and OS X 10.3.6.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@105905 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@76284 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@76076 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Now you don't get an Error when you should of gotten a HUP.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65573 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The hash table was allocating new memory for each new insertion of an entry,
and not reclaiming it on deletions, so repetition of (insert, delete) caused
the memory use to keep growing. This fix causes the memory freed by a deletion
to be reused by a subsequent insertion, so that the memory used by the hash
table is proportional to the maximum number of entries that it has ever held
simultaneously, rather than the number of insertions that have been performed.
* apr/tables/apr_hash.c:
(apr_hash_t): Add new field "free", a free-list.
(apr_hash_make, apr_hash_copy, apr_hash_merge): Initialise the free-list.
(find_entry): Use an entry from the free-list if there is one.
(apr_hash_set): Return a deleted entry to the free-list.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65572 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65567 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
-export-symbols-regexp option to be handled...
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65367 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
to create a mutex
PR:
Obtained from:
Submitted by: Steve Hay <steve.hay uk.radan.com>
Reviewed by: stas
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65350 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR_DETACH expect that the thread_join will be called, so don't close the
handle in advance, if the thread has already finished.
PR:
Obtained from:
Submitted by: mturk
Reviewed by: wrowe
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65335 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
that test is depending on but is never built.
PR:
Obtained from:
Submitted by: mturk
Reviewed by: wrowe
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65333 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65311 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Happy Jo?
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65308 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
apr_file_read() on each byte if we don't have to.
(mod_negotiation requests call apr_file_gets() for each line in the map file,
which can get to be quite expensive to have repeated memcpy()'s for one byte!)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65294 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
find_apr.m4 (APR_FIND_APR).
Justin made a few changes to Max's latest patch:
- Emit a warning at autoconf-time and default to [0 1] if 4th arg is missing.
- Fix some tpyos
- Change apr-config.in to not use multiple @APR_MAJOR_VERSION@ substs.
Submitted by: Max Bowsher
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65293 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Reviewed by (conceptually): Ryan, Greg, Fitz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65292 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65288 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
access to the working directory of the child process.
PR: 30137
Submitted by: Jeremy Chadwick <apache jdc.parodius.com>
Reviewed by: jorton, trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65285 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
overlapped/xthread io
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65283 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
* configure.in: We now include jlibtool in our base distribution.
* build/jlibtool.c: Restore deleted revision 1.5.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65273 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
(Justin tweaked the cleanup code from Paul's last posted patch.)
Submitted by: Paul Querna
Reviewed by: Justin Erenkrantz, Joe Orton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65261 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: http://svn.apache.org/repos/asf/apr/apr/trunk@65257 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by:
Reviewed by: jorton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65255 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
numbers.
PR: 29621
Submitted by: Artur Zaprzala <zybi talex.pl>
Reviewed by: Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65222 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65217 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65216 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: http://svn.apache.org/repos/asf/apr/apr/trunk@65213 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
X: pass valid arguments to pthread_attr_setdetachstate.
* include/apr_thread_proc.h: Clarify apr_threadattr_detach_{set,get}
interfaces.
PR: 28472
Submitted by: INOUE Seiichiro <inoue ariel-networks.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65199 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
mutexes as the default inter-process locking mechanism.
* build/apr_hints.m4: Force default inter-process locking mechanism to
fcntl for Solaris, as per 1.3.
Reviewed by: Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65198 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
* shmem/unix/shm.c (apr_shm_remove): New function.
* shmem/beos/shm.c, shmem/win32/shm.c, shmem/os2/shm.c
(apr_shm_remove): APR_ENOTIMPL stubs.
Submitted by: Amit Athavale <amit_athavale@persistent.co.in>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65143 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include/arch/netware/apr_private.h: Define APR_OFF_T_STRFN.
* include/apr_strings.h, strings/apr_strings.c: Add apr_strtoff()
function.
* test/teststr.c (string_strtoff): Add test.
Submitted by: Andr�� Malo, Joe Orton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65120 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
PR: 28471
Submitted by: inoue <inoue ariel-networks.com>
Reviewed by: Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65108 13f79535-47bb-0310-9956-ffa450edef68
|