| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836077 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835659 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
and to create .dll's on win32 from the buildconf/configure schema
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835602 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824818 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
and provide "hooks" to allow for other OS's to override at
app-compile time some values and be safe.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824762 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
from trunk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@821199 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the right one...
Fix APR_OFF_T_FMT which is lld for OS X 10.6 (darwin 10.0.0)
since off_t ends up as a long long.
predict future and keep mr rowe happy
Reviewed/backported by: jim
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@813582 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Use more elaborate checks for epoll_create1, dup3 and accept4.
PR 47519.
Patch contribution: Chetan Reddy <chetanreddy gmail.com>.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@795268 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Link again on OS X, where fdatasync() does not seem to exist.
* configure.in
Add check for fdatasync.
* file_io/unix/readwrite.c
(apr_file_datasync): Use fsync when fdatasync is not available.
Move check for fdatasync out of extended file descriptor handling block.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@794484 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@790393 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from the trunk.
Set CLOEXEC flags where appropriate. Either use new O_CLOEXEC flag and
associated functions, such as dup3(), accept4(), epoll_create1() etc., or
simply set CLOEXEC flag using fcntl().
Patch by Stefan Fritsch <sf sfritsch.de> and
Arkadiusz Miskiewicz <arekm pld-linux.org>.
PR 46425.
fix unused variable warning for builds without HAVE_DUP3
Unroll APR_SET_FD_CLOEXEC macro.
* One missing unroll of APR_SET_FD_CLOEXEC.
Document CLOEXEC patch.
Only set CLOEXEC on dup() if both NOCLEANUP and INHERIT flags are clear.
Retain the INHERIT/NOCLEANUP flags of new_file in apr_file_dup2().
Patch by Stefan Fritsch <sf sfritsch.de>.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@783970 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix buildconf with libtool 2.2:
* buildconf: Use a different Extremely Ugly Hack to extract and copy
the list of .m4 files needed directly from libtoolize.
* configure.in: Include more files which might be needed by libtool.
* build/: Ignore more.
Submitted by: jorton
Reviewed/backported by: jim
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@742743 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Add AC_MSG_RESULT after AC_MSG_CHECKING.
PR 46427
Patch by Rainer Jung <rainer.jung kippdata.de>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@731784 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Patch by Rainer Jung <rainer.jung kippdata.de>.
PR 45513.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@683771 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
in fcntl-based apr_proc_mutex_trylock().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@671955 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
new AC_USE_SYSTEM_EXTENSIONS as of 2.60.
Submitted by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@670000 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
is for maintainers, it's time to bump.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@669927 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
configure.in:354: warning: AC_CACHE_VAL(atomic_builtins, ...): suspicious cache-id, must contain _cv_ to be cached
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@664702 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Caveats:
- no idea if IBM's proprietary OSes actually have thread-safe
version of getservbyname() function, just assumed that by looking at
other similar functions being marked safe in APR detection code
- works on Linux (Fedora 9, i.e. glibc2)
Use thread safe versions of getservbyname().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@661178 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
PR: 43388
Submitted by: Eric Covener <covener gmail.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@652859 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
PR: 44881
Submitted by: bojan
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@652830 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: David Jones; heavily modified by trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@596126 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
choice on older Darwin/OS X as well as HP-UX
throw in a similar fix for detection of ancient AIX
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@591624 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
On HPUX 64bit PA-RISC or IA64... shl_ API is deprecated; use dlopen.
(Unless we can't in which case we'll jump on shl at the end.)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@591191 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR_HAS_LARGE_FILES means that we support offsets larger than memory
could contain. An audit of the code reveals no functional changes
in the compilation of the library. The testlfs.c source proves that
this is the assumption of the users of this 'undocumented feature'.
In fact, it's not possible to properly determine this publicly to
adjust testlfs.c based on any other public symbol from the library.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589910 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
fix hard-coded format string to match
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589841 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
and only define apr_ino_t as unsigned long in the case where a 32-bit
ino_t is detected and hence may vary by _FILE_OFFSET_BITS; it's not
necessary in the other cases.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@589583 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
based on the library consumer's -D'efines to the filesystem.
Submitted by: Lucian Adrian Grijincu <lucian.grijincu gmail.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@587779 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@585348 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
And refine the file times down to apr_time_t resolution if supported
by a st_atimensec or st_atim.tv_nsec value by the OS. Additional
msec implementations are possible if exposed through autoconf.
PR: 41678
Authored by: William Rowe, Nicklas Edmundsson <nikke acc.umu.se>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@585343 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Makefile rather than hard-coding in the (shared) apr_rules.mk.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@579264 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
apr_size_t
using the gcc (and icc) built-in __builtin_types_compatible_p (used to determine
if two types are the same). This could also be achieved with another gcc extension
(type redeclaration), but using the built-in seems more forward compatible.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@554963 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Rainer Jung <rainer.jung kippdata.de>
PR: 42821
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553652 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
PR: 42806
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553293 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
platforms (alpha, ia32, ia64, powerpc, etc).
Tested on:
2x Pentium D, Ubuntu 7.04, gcc 4.1.2
16x Itanium II, RHEL 5, gcc 4.1.1
PR: 42806
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553290 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
the various backends. The generic implementation is used when no specialized
implementation fits the defined criterias, or when the user forces the choice.
PR: 42806
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@553289 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Noticed by: Joe Orton
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@552134 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
code already does it. Also search for the sem_open function in
the realtime library.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@551917 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the 'e's of our symbol, resulting in ac_cv_file__dv_zro - which then fails
all the way down the line for providing pthread mechanics. Noted this
especially on Solaris 8.x.
Depreciate APR_CHECK_FILE, which will be shot dead with APR 2.0, thus
@deprecate symbol for when we look to mass-purge dead APIs with grep.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@441558 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@423003 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
mutexes are global.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421976 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rearrange header ordering in rand.c to ensure that the link decorations
are imported correctly.
Originally titled: [patch 17/17] Uuid
Submitted by: John Vandenberg
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421805 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Originally titled: [patch 15/17] APR_HAS_PROC_INVOKED
Submitted by: John Vandenberg
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421540 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421539 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Originally titled: [patch 06/17] Win32 unicode filesystem
Submitted by: John Mark Vandenberg
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421094 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch also moves the iovec 'workaround' from apr.hw into apr_want.h too.
Originally titled: [patch 09/17] struct iovec
Submitted by: John Mark Vandenberg
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421075 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
for Windows as well.
Originally titled: [patch 11/17] struct in_addr
Submitted by: John Mark Vandenberg
Reviewed by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421071 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Originally titled: [patch 05/17] win32api support
Inspired by: John Mark Vandenberg
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421063 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Originally titled: [patch 02/17] Windows library dependencies
---
Windows symbols may a suffix of @<arg count>.
A new macro APR_CHECK_DLL_FUNC looks for a @ sign in the function name; when
present it will verify a symbol exists with the correct argument count.
Otherwise, APR_CHECK_DLL_FUNC falls back to emulating AC_CHECK_LIB.
Enables native threads, locking, DSO loading and shared memory.
---
Submitted by: John Mark Vandenberg
Tweaked by: Justin Erenkrantz
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@421013 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submitted by: Keisuke Nishida <keisuke.nishida gmail.com>
Reviewed by: rooneg, Henry Jen <henryjen ztune.net>
* configure.in: Look for pthread_yield and sched_yield.
* include/arch/unix/apr_arch_threadproc.h: Include sched.h if it's present.
* threadproc/unix/thread.c
(apr_thread_yield): Actually do something in here...
* CHANGES: Note change.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@418351 13f79535-47bb-0310-9956-ffa450edef68
|