summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Grab subset of trunk r1088023:trawick2011-04-111-8/+2
| | | | | | | | | | | | | * Removed the "strange" libraries detection (btw, probably it was also breaking platforms without __stdcall calling convention, like Windows CE/Mobile/Phone, since function names were decorated), linker gave error without sense if adding "-lkernel32", probably because it creates a conflict of library precedence and dependency. Submitted by: Carlo Bramini <carlo.bramix libero.it> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1091186 13f79535-47bb-0310-9956-ffa450edef68
* grab a subset of trunk r1090664:trawick2011-04-111-0/+6
| | | | | | | | | | enable APR_HAS_SENDFILE and APR_HAS_MMAP for MinGW builds (the rest of r1090664 was N/A, as the 1.x branches have different handling of included files in apr.hw/.h.in) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1091182 13f79535-47bb-0310-9956-ffa450edef68
* improve sync with apr.hw from this branchtrawick2011-04-111-9/+14
| | | | | | | this picks up the defs needed for IPv6 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1091179 13f79535-47bb-0310-9956-ffa450edef68
* Grab r1088352 from trunk:trawick2011-04-041-0/+1
| | | | | | | | Windows: Save a call to getpeername() when trying to retrieve the remote address of a socket created by apr_socket_accept() git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1088568 13f79535-47bb-0310-9956-ffa450edef68
* Added header to catch export symbols.fuankg2011-04-031-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1088201 13f79535-47bb-0310-9956-ffa450edef68
* Added another Netware header for prototypes.fuankg2011-04-021-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1088166 13f79535-47bb-0310-9956-ffa450edef68
* Removed dependency on sort command for export list.fuankg2011-04-013-8/+29
| | | | | | | | | Added a shell sort function to the NetWare export script which is only few ms slower than the external sort command; this makes the export list now identical on all build platforms. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1087521 13f79535-47bb-0310-9956-ffa450edef68
* part of trunk r892122:trawick2011-03-291-0/+16
| | | | | | | fix int64 and off_t settings on MinGW git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086722 13f79535-47bb-0310-9956-ffa450edef68
* from trunk:trawick2011-03-291-11/+0
| | | | | | | | r892122 (subset) comment out the whacking of apr_private.h for mingw r1086666 axe that and some other commented-out mingw logic git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086713 13f79535-47bb-0310-9956-ffa450edef68
* Fixed apr_ino_t typedef for MinGW builds.fuankg2011-03-291-8/+17
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086633 13f79535-47bb-0310-9956-ffa450edef68
* Added __MSVCRT__ for MinGW builds.fuankg2011-03-291-1/+1
| | | | | | | This is required to get the prototype for _beginthreadex(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086631 13f79535-47bb-0310-9956-ffa450edef68
* Backport Windows apr.h.in stuff from HEAD (r892148).fuankg2011-03-291-1/+32
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086625 13f79535-47bb-0310-9956-ffa450edef68
* Backport some more configure magic from HEAD (r1083242).fuankg2011-03-291-11/+12
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086600 13f79535-47bb-0310-9956-ffa450edef68
* NetWare awk export script fixes and cleanup.fuankg2011-03-291-24/+29
| | | | | | | | | Remove trailing line endings with Linux builds; sync'd add_symbol function with HEAD and moved to top; added License header where missing. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086579 13f79535-47bb-0310-9956-ffa450edef68
* Backport some configure magic from HEAD.fuankg2011-03-292-8/+18
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086571 13f79535-47bb-0310-9956-ffa450edef68
* Fixed protection of our own struct iovec define.fuankg2011-03-281-7/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1086125 13f79535-47bb-0310-9956-ffa450edef68
* Moved platform-specific stuff to build/apr_hints.m4.fuankg2011-03-272-12/+15
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1085987 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1085937 per Jeff's suggestion.fuankg2011-03-271-1/+0
| | | | | | | Such defines should go into build/apr_hints.m4. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1085974 13f79535-47bb-0310-9956-ffa450edef68
* Set APR_HAS_OS_UUID=1 for Windows builds.fuankg2011-03-271-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1085937 13f79535-47bb-0310-9956-ffa450edef68
* Fixed process.h detection with configure builds.fuankg2011-03-262-2/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1085660 13f79535-47bb-0310-9956-ffa450edef68
* Moved apr_os_uuid_get prototype out of APR_HAS_DSO block.fuankg2011-03-261-3/+4
| | | | | | | | This avoids a missing prototype warning since the function's C code gets compiled independent of APR_HAS_DSO. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1085655 13f79535-47bb-0310-9956-ffa450edef68
* Added prototype for getpid.fuankg2011-03-251-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1085469 13f79535-47bb-0310-9956-ffa450edef68
* Added blocking for MSVC pragma.fuankg2011-03-251-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1085462 13f79535-47bb-0310-9956-ffa450edef68
* from jorton's trunk r1059351:trawick2011-03-231-1/+7
| | | | | | | | | | | | * network_io/unix/sockets.c (apr_socket_accept): Ensure the correct address family is used for the new socket when adjusting local_addr/remote_addr, fixing handling of an AF_INET socket accepted from a bound AF_INET6 socket. PR: 49678 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1084669 13f79535-47bb-0310-9956-ffa450edef68
* Use the ComSpec environment var.fuankg2011-03-231-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1084541 13f79535-47bb-0310-9956-ffa450edef68
* grab some Windows/MinGW code tweaks from trunk for quieter gcc buildstrawick2011-03-226-14/+22
| | | | | | | | | | | | time/win32/timestr.c: all of r892188 include/arch/win32/apr_arch_file_io.h: part of r892386 misc/win32/rand.c: all of r892426 misc/win32/misc.c: part of r892177 misc/win32/internal.c: all of r892390 poll/unix/pollset.c: part of r892386 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1084310 13f79535-47bb-0310-9956-ffa450edef68
* Reverted undef hack from r1084016 - needs more testing.fuankg2011-03-221-5/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1084046 13f79535-47bb-0310-9956-ffa450edef68
* Fixed issue when compiling serf due to odd defines.fuankg2011-03-212-3/+5
| | | | | | | | | 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: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1084016 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1083931 from trunk:trawick2011-03-211-2/+4
| | | | | | | | | | | | | | | | | | | use apr_get_netos_error() to retrieve the getaddrinfo() error code on Windows before: error: 681001/APR does not understand this error code after: error: 731001/No such host is known. (the latter matches an IPv4-only build) Submitted by: Ivan Zhakov <ivan visualsvn.com> Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083933 13f79535-47bb-0310-9956-ffa450edef68
* Backport of blocking MSVC pragmas (r892909).fuankg2011-03-211-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083914 13f79535-47bb-0310-9956-ffa450edef68
* merge trunk revs 1083169, 1083177, 1083178, 1083183, and 1083227trawick2011-03-2113-277/+72
| | | | | | | | | | to resolve some gcc warnings and dead code on Windows (the testlfsabi change from r1083183 is omitted, as the testcases aren't in this branch) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083869 13f79535-47bb-0310-9956-ffa450edef68
* Merge r892387 from trunk:trawick2011-03-218-53/+67
| | | | | | | | | | Cleanups for various gcc warnings, conditional assignment and type errors Submitted by: wrowe Reviewed by: trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083810 13f79535-47bb-0310-9956-ffa450edef68
* merge r949209 from trunktrawick2011-03-213-2/+2
| | | | | | | axe unused variables git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083803 13f79535-47bb-0310-9956-ffa450edef68
* from apr 1.4.x r936344 by jim:trawick2011-03-211-0/+1
| | | | | | | Force top_builddir to be found... git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083800 13f79535-47bb-0310-9956-ffa450edef68
* sync with trunk avoid a shell script problem with autoconf 2.67trawick2011-03-211-2/+1
| | | | | | | | and bash 3.1 on MinGW (and perhaps with some toolchain variations on other platforms) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083782 13f79535-47bb-0310-9956-ffa450edef68
* Backport r1072165:sf2011-03-202-1/+52
| | | | | | | | | | | | | | | | | Add new configure option --enable-allocator-uses-mmap to use mmap instead of malloc in apr_allocator_alloc(). This greatly reduces memory fragmentation with malloc implementations (e.g. glibc) that don't handle allocationss of a page-size-multiples in an efficient way. It also makes apr_allocator_max_free_set() actually have some effect on such platforms. The handling of page sizes other than 4k seems like a lot of trouble for a very small number of platforms, but there does not seem to be a reasonable way to check this at compile time. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083592 13f79535-47bb-0310-9956-ffa450edef68
* Backport of r990435sf2011-03-201-7/+7
| | | | | | | | | | Fix various off-by-one errors related to current_free_index: current_free_index counts pages of size BOUNDARY_SIZE, but every node contains index + 1 of such pages git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083585 13f79535-47bb-0310-9956-ffa450edef68
* Removed libprews.o from aprlib.fuankg2011-03-191-1/+0
| | | | | | | | This file should only be linked into the NLM, and not be a member of the static lib. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1083137 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build overhaul in order to compile on Linux.fuankg2011-03-1818-417/+485
| | | | | | | Backport of all recent changes to trunk. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1082778 13f79535-47bb-0310-9956-ffa450edef68
* Merge r1081120 from trunk:trawick2011-03-132-6/+22
| | | | | | | | | | | | | | apr_sockaddr_info_get() on AIX: Fix a problem which could set the port field in the native socket address to 1 when 0 was specified. An AIX-specific hack to work around a service name limitation used "1" as the service name, but the 1 was not replaced later. PR: 46964 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1081121 13f79535-47bb-0310-9956-ffa450edef68
* Fixed NetWare apr.h defines and formatting.fuankg2011-03-101-138/+139
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1080271 13f79535-47bb-0310-9956-ffa450edef68
* Make functions static (backport r991753).fuankg2011-03-101-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1080106 13f79535-47bb-0310-9956-ffa450edef68
* Added missing include paths for added apr_ldap.h.fuankg2011-03-101-0/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1080104 13f79535-47bb-0310-9956-ffa450edef68
* Fixed some NetWare compiler warnings.fuankg2011-03-101-6/+19
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1080096 13f79535-47bb-0310-9956-ffa450edef68
* Fixed NetWare prototype warnings.fuankg2011-03-102-5/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1080082 13f79535-47bb-0310-9956-ffa450edef68
* Fixed compilation when APR_HAVE_STRUCT_RLIMIT=0.fuankg2011-03-102-4/+21
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1080074 13f79535-47bb-0310-9956-ffa450edef68
* Added missing prototypes for NetWare.fuankg2011-03-102-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1080063 13f79535-47bb-0310-9956-ffa450edef68
* Fix definition of apr_ino_t to be independent of _FILE_OFFSET_BITS evensf2011-03-071-6/+10
| | | | | | | | | | | if ino_t is 'unsigned int' (this case was not caught by APR_CHECK_TYPES_COMPATIBLE(... unsigned long...) ). Also don't limit the special handling to 32bit platforms, as there are platforms (e.g. kfreebsd-gnu-amd64) where _FILE_OFFSET_BITS influences ino_t even on 64bit. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1078848 13f79535-47bb-0310-9956-ffa450edef68
* Commented NetWare build debug output which breaks make 3.82.fuankg2011-03-021-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1076435 13f79535-47bb-0310-9956-ffa450edef68
* Added require prototypes conditionally to CFLAGS for NetWare.fuankg2011-03-021-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1076277 13f79535-47bb-0310-9956-ffa450edef68