summaryrefslogtreecommitdiff
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed issue when compiling serf due to odd defines.Guenter Knauf2011-03-211-3/+0
| | | | | | | | | The NetWare winsock2 header defines accept which breaks compilation of serf lib, therefore we now undef. Also removed obsolete include of novsock2.h in libprews.c. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1084016 13f79535-47bb-0310-9956-ffa450edef68
* fix low-hanging gcc warnings, mostly for WindowsJeff Trawick2011-03-191-50/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1083183 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.Guenter Knauf2011-03-041-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1076916 13f79535-47bb-0310-9956-ffa450edef68
* Add Windows 7 to the list of detected versionsMladen Turk2010-08-261-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@989450 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a compiler warning.Guenter Knauf2010-08-031-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@982033 13f79535-47bb-0310-9956-ffa450edef68
* Fixed some compiler warnings.Guenter Knauf2010-08-031-6/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@982032 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add OS/2 specific handling in apr_proc_other_child_refresh().Brian Havard2010-04-071-0/+28
| | | | | | | Now passes testoc. Was resulting in APR_OC_REASON_LOST on child death. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@931521 13f79535-47bb-0310-9956-ffa450edef68
* Clean up inclusion of windows sub-headers, following apr.h alwaysWilliam A. Rowe Jr2009-12-211-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892989 13f79535-47bb-0310-9956-ffa450edef68
* apparently rpc.h is also required for UUID support on mingw win32 headersWilliam A. Rowe Jr2009-12-191-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892426 13f79535-47bb-0310-9956-ffa450edef68
* gcc has this one wrong, it's never necessary to cast toWilliam A. Rowe Jr2009-12-181-1/+1
| | | | | | | | | introduce constness where none was required before. But the fix is harmless. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892390 13f79535-47bb-0310-9956-ffa450edef68
* Yes, use the lfs64 flag to flag APR_HAS_LARGE_FILESWilliam A. Rowe Jr2009-12-181-5/+8
| | | | | | | | | Cleans up some warning emits in the dbg_log custom win32 tracing logic Set the HAVE_ICONV_H flag for testing purposes, until I wrap up the unix side git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@892177 13f79535-47bb-0310-9956-ffa450edef68
* apr_strerror() on OS/2: Fix problem with calculating buffer size.Jeff Trawick2009-04-221-1/+1
| | | | | | | | | | PR: 45689 Submitted by: Erik Lax <apache datahack.se> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@767498 13f79535-47bb-0310-9956-ffa450edef68
* Remove simple ipc because of -1Mladen Turk2009-02-241-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@747357 13f79535-47bb-0310-9956-ffa450edef68
* Remove ipc init from apr_initialize.Mladen Turk2009-02-232-4/+0
| | | | | | | On posix make unique tmp name and add that to child environment. The env var name made of child making it almost unique for that process instance git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@747042 13f79535-47bb-0310-9956-ffa450edef68
* Add simple parent/child data exchange for APR processesMladen Turk2009-02-212-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@746589 13f79535-47bb-0310-9956-ffa450edef68
* Fix the otherchild API docs to reflect the actual implementation ofJoe Orton2009-01-121-14/+0
| | | | | | | | | | | | | | | | | | | | | | | | the 'write_fd' handling, rather than the implementation which was removed in 2001. Also fix the implementation remove pointless bit shuffling: * include/arch/win32/apr_arch_misc.h (struct apr_other_child_rec_t), include/arch/unix/apr_arch_misc.h (struct apr_other_child_rec_t): Remove unused write_fd field. * include/apr_thread_proc.h: Document that APR_OC_REASON_UNWRITABLE is unused. (apr_proc_other_child_register): Document that the unused write_fd parameter is unused. * misc/unix/otherchild.c (apr_proc_other_child_register): Ignore the write_fd parameter rather than copying it then ignoring it. * STATUS: Move comments on possible future of the write_fd argument here. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@733773 13f79535-47bb-0310-9956-ffa450edef68
* Improve explanations, reference appropriate RFC's and add someWilliam A. Rowe Jr2008-08-071-27/+32
| | | | | | | exploratory math for the limits. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@683665 13f79535-47bb-0310-9956-ffa450edef68
* Revert function proto changeMladen Turk2008-04-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@649042 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile time warnings by properly casting to 64 or 32 bitsMladen Turk2008-04-171-14/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@649000 13f79535-47bb-0310-9956-ffa450edef68
* Initialize the rebind functionality early within the APR library itself to ↵Bradley Nicholes2008-04-091-0/+2
| | | | | | avoid application unload issues. This ties apr to apr-util however on NetWare both libraries are combined. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@646580 13f79535-47bb-0310-9956-ffa450edef68
* Save the user a step by providing the entry pointWilliam A. Rowe Jr2007-10-181-8/+9
| | | | | | to the linker, and clear up some comments git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@585872 13f79535-47bb-0310-9956-ffa450edef68
* zero bytes is a LEGAL length of an envvar valueWilliam A. Rowe Jr2007-10-081-4/+1
| | | | | | (also fix a minor spelling error) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@582701 13f79535-47bb-0310-9956-ffa450edef68
* This message no verb.Martin Kraemer2007-09-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@572593 13f79535-47bb-0310-9956-ffa450edef68
* Proposed;William A. Rowe Jr2007-08-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | Solve win32 inherited pipe leaks by leveraging OS2 port's solution. Mutex the pipe manipulation on WinNT+++ alone (not WinCE, nor 9x) so that we toggle the inherited state of the stdin/out/err pipes. This is only possible on NT, because in CE/9x it would involve replacing the pipe handles all over the place as there is no toggle. This CRITICAL_SECTION pipe is incredibly fast in the mainline case, and only introduces contention in the threaded server after startup (for cgi, etc). Not unlike an in-process cgid. So, leave WinCE alone for now, since it doesn't follow the stdio model, and leave Win9x alone for good, as nearly abandoned. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@569882 13f79535-47bb-0310-9956-ffa450edef68
* misc/win32/misc.c depends on _UNICODE not being set and all Windows API callsDavi Arnaut2007-07-221-8/+20
| | | | | | | | | | | | being char* based. On WinCE, _UNICODE is forced to be set. This patch modifies the Windows version detection code to use TCHAR and adds the explicit "A" qualifier to LoadLibrary and GetProcAddress so the char* based versions are used regardless. Submitted by: Curt Arnold PR: 39889 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@558506 13f79535-47bb-0310-9956-ffa450edef68
* * misc/unix/rand.c (apr_generate_random_bytes): Handle EINTR fromJoe Orton2007-07-041-1/+4
| | | | | | | | | read(). PR: 39790 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@553146 13f79535-47bb-0310-9956-ffa450edef68
* Something in apr_private.h when preprocessed with the MinGW Windows headersDavi Arnaut2007-06-291-2/+1
| | | | | | | | | | | effectively redefines WINADVAPI from __stdcall to empty which results in a link failure when wincrypt.h is placed after an include to apr_private.h. Submitted by: Curt Arnold git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@551958 13f79535-47bb-0310-9956-ffa450edef68
* Apparently xcompiles on unix are depending on lower case names, and ofWilliam A. Rowe Jr2007-06-011-1/+1
| | | | | | | | | | course these includes are case sensitive. PR: 41916/patch segment 3/4 Submitted by: Kouhei Sutou <kou cozmixng.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543642 13f79535-47bb-0310-9956-ffa450edef68
* Explicitly call out FormatMessageA in the general case (we only return char* ↵William A. Rowe Jr2007-06-011-2/+22
| | | | | | | | | | | | | | | | text) and in the WINCE case, fall into FormatMessageW and perform uglyness to transcode this into 7 bit ascii + '?' patterns for unrepresentable bytes. The right solution is to transcode to utf-8, but that's not possible while we have one fixed-size buffer to work with. Using a TLS utf-8/unicode buffer would be lovely but it's not reentrant, so defer closing PR 39895 for now (as an enhancement not a blocker). PR: 39895/Attachment Submitted by: Curt Arnold <carnold apache.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543549 13f79535-47bb-0310-9956-ffa450edef68
* apr_app_initialize performs manipulation of environment variables (in particularWilliam A. Rowe Jr2007-06-011-1/+5
| | | | | | | | | | | | | | converting them from Unicode to char*) whereas WinCE has no enviroment - and also updates the argv array by parsing the Unicode command line which uses the CommandLineToArgvW method which not available on WinCE. Suppress both on WinCE. PR: 39892 Submitted by: Curt Arnold <carnold apache.org> Reviewed by: Davi Arnaut Forward port: 543367 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543368 13f79535-47bb-0310-9956-ffa450edef68
* apr_env_get, apr_env_set and apr_env_delete to return APR_ENOTIMPL on ↵William A. Rowe Jr2007-06-011-2/+13
| | | | | | | | | | | Windows CE. PR: 39867 Submitted by: Curt Arnold <carnold apache.org> Reviewed by: Davi Arnaut git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543329 13f79535-47bb-0310-9956-ffa450edef68
* WinCE exception to deal with local code page (in unicode, no less)William A. Rowe Jr2007-05-311-2/+14
| | | | | | | | PR: 39852 Submitted by: Curt Arnold <carnold apache.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@543313 13f79535-47bb-0310-9956-ffa450edef68
* nl_langinfo() may be transient, pstrdup it.William A. Rowe Jr2007-04-171-1/+1
| | | | | | | PR: 41659 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@529774 13f79535-47bb-0310-9956-ffa450edef68
* fix build failure on platforms without setenv()Jeff Trawick2007-03-091-1/+2
| | | | | | | | Submitted by: Stefan Ruppert <ml ruppert-it.de> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@516466 13f79535-47bb-0310-9956-ffa450edef68
* Add Windows Vista os version detectionMladen Turk2007-01-081-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@494055 13f79535-47bb-0310-9956-ffa450edef68
* Backout R434327, R437115, which...William A. Rowe Jr2006-11-221-63/+0
| | | | | | | | | | | Implement apr_threadkey_private destructors on WIN32 instead silently ignoring them. and reviewed by wrowe, brane, jerenkrantz to need a more comprehensive solution, e.g. Windows PE destructor entry points, that does -not- break svn. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@478137 13f79535-47bb-0310-9956-ffa450edef68
* Axe lines of unnecessary code.William A. Rowe Jr2006-11-071-11/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@471952 13f79535-47bb-0310-9956-ffa450edef68
* Correctly retrieve 'empty' environment values with apr_env_getWilliam A. Rowe Jr2006-11-061-2/+17
| | | | | | | | | | | | on Win32 (e.g. "VAR="), and added validation to testall suite. PR: 40764 Submitted by: Issac Goldstand <margol beamartyr.net> Reviewed by: wrowe git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@471877 13f79535-47bb-0310-9956-ffa450edef68
* Check if the return value from TlsGetValue isMladen Turk2006-08-261-1/+6
| | | | | | valid before calling the provided callback. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@437115 13f79535-47bb-0310-9956-ffa450edef68
* Implement apr_threadkey_private destructors on WIN32Mladen Turk2006-08-241-0/+58
| | | | | | instead silently ignoring them. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@434327 13f79535-47bb-0310-9956-ffa450edef68
* Tab police + Trim trailing spaces.Mladen Turk2006-08-241-10/+10
| | | | | | No functional change. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@434318 13f79535-47bb-0310-9956-ffa450edef68
* Fix the typo.Joe Orton2006-08-0320-20/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.Joe Orton2006-08-0320-120/+120
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
* Link to librpcrt4.a.Justin Erenkrantz2006-07-141-1/+2
| | | | | | | | | | | | | 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: https://svn.apache.org/repos/asf/apr/apr/trunk@421805 13f79535-47bb-0310-9956-ffa450edef68
* Protect usage of MS VC++ crtdbg.h functionality.Justin Erenkrantz2006-07-124-20/+16
| | | | | | | | | | Originally titled: [patch 14/17] crtdbg.h Submitted by: John Mark Vandenberg Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@421373 13f79535-47bb-0310-9956-ffa450edef68
* One more evolution of the uuid header detection code.William A. Rowe Jr2006-03-101-2/+2
| | | | | | | | | | | | On Solaris, uuid/uuid.h defined uuid_generate, and itself includes sys/uuid.h which only defined the uuid_t. Therefore prefer the broadest uuid.h, followed by uuid/uuid.h, and only if those fail, fall back on sys/uuid.h which may contain nothing beyond the sys types of uuid_t entities. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@384930 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typo caught by maxbWilliam A. Rowe Jr2006-03-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@382552 13f79535-47bb-0310-9956-ffa450edef68
* The second half of the last commit. Follow the only API we foundWilliam A. Rowe Jr2006-03-021-1/+5
| | | | | | | | | for uuid_create and test the result value for uuid_s_ok. This matches the configure.in tests, and is therefore safe to assume it -does- build correctly. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@382543 13f79535-47bb-0310-9956-ffa450edef68
* Address bug 37999 and other exceptions to the existing uuid detection code;William A. Rowe Jr2006-03-021-1/+7
| | | | | | | | | | | | | favor uuid_create or uuid_generate if they live in the clib, and perform a true compile/link test on our suspected success case, disabling the code if this fails. More sets of eyes and feedback to dev@apr requested before we backport this patch to APR 1.2.x Authored by: wrowe, maxb git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@382541 13f79535-47bb-0310-9956-ffa450edef68
* Only include uuid/uuid.h if we havne't already included uuid.h, since ↵Garrett Rooney2005-12-101-3/+2
| | | | | | | | | | | | | | | | including both can result in type conflicts depending on what packages have been installed on a machine. * misc/unix/rand.c: Only include uuid/uuid.h if we haven't included uuid.h. * CHANGES: Note change. Submitted by: Craig Rodrigues <rodrigc at crodrigues.org> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@355780 13f79535-47bb-0310-9956-ffa450edef68