| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905407 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
They are only used locally in apr_mmap_create().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1887062 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is requirement for unix systems, and otherwise can cause failures or
undefined behaviour with some filesystems.
Add apr_mmap_t->poffset on unixes to track the offset to the previous page,
relative to the user requested/actual offset. This allows ->mm and ->size to
still point to the actual data, while munmap() still deletes the full range
from the start of the page.
Tests updated accordingly.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1887060 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
PR: 55133
Submitted by: Mike Rumph <mike.rumph oracle.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1496407 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64609 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_compare_groups
apr_compare_users
apr_current_userid
apr_explode_localtime
apr_explode_time
apr_filename_of_pathname
apr_get_groupid
apr_get_groupname
apr_get_home_directory
apr_get_userid
apr_get_username
apr_group_name_get
apr_implode_gmt
apr_lstat
FNM_NOMATCH
FNM_NOESCAPE
FNM_PATHNAME
FNM_PERIOD
FNM_CASE_BLIND
change the function args to this interface:
apr_mmap_dup
this function's args changed in a previous commit, so
mention that in CHANGES
apr_socket_create
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64607 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
between extern "C" blocks and doxygen blocks, that we never include
other headers within our own header's extern "C" block, that we always
tag the entire file contents for doxygen (within the APR_HEADER_H
only-once block), and generally clean up doxygen so that it is all
consistent and generates respectable (although not yet 'great') results.
Major TODO after 0.9.2 releases; fill in the apr.h APR_HAVE/APR_HAS
and apr_type_t documentation!!!
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64397 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
No functional changes
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
rid of the is_owner thing completely. Instead, we place all of the dup'ed
apr_mmap_t's in a ring with each other (essentially the same as refcounting
the mmaped region but without the where-do-you-store-it pitfall).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64067 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
No code changes.
(Note removal of #define duplication in apr_poll.h/apr_network_io.h of the
APR_POLL* values. This appears to have been an oversight and is now just
in apr_poll.h)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64009 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
one pool to another without a dup of the file descriptor.
Also added apr_mmap_setaside() for consistency, per Cliff's suggestion
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63553 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"warning: declaration of `mmap' shadows global declaration"
This should fix the problem.
* apr_mmap.h (apr_mmap_delete, apr_mmap_offset): rename argument to 'mm'.
* mmap/unix/mmap/mmap.c (apr_mmap_delete): same.
* mmap/unix/mmap/common.c (apr_mmap_offset): same.
* mmap/win32/mmap/mmap.c (apr_mmap_delete): same.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62832 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
(greater than or equal to APR_MMAP_THRESHOLD and less than APR_MMAP_LIMIT)
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62571 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by:
Reviewed by: Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62570 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62569 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
this is used in the MMAP bucket setaside function for a performance win.
Mod_file_cache will also use this
Submitted by: Brian Pane <bpane@pacbell.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62536 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62196 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61931 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
the mmap semantics still need a touch of work.
*) Fix the APR_XTHREAD support, and apr_sendfile mechanics, so we can
handle cross-threaded file handles on Win32.
Sorry, it's rather hard to untangle one from the other to create two patches.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61712 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
memory, or the size of the file that can be mapped?
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61443 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR_DECLARES() to the sources, based on compilation emits (there
are many that should be changed eventually, but the compiler will
emit errors if those sources are added for win32).
This change also splits libapr from apr, so the two projects are
compiled seperately. Both .dsp files must be kept up-to-date with
source file revisions.
Finally, libapr.def is no longer needed - so it is gone.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60912 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
be write-able.
Submitted by: Ryan Bloom and Will Rowe
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60908 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60849 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Sam TH <sam@uchicago.edu>
Reviewed by: David Reid <dreid@apache.org>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60844 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*) Reduce the dependencies between APR headers. This assists APR clients who
generate dependencies, and (used to) pick up "all" of the APR headers.
Basically, this was trimming back the headers to just what was needed.
Some unneeded system headers were removed, too. The most common headers
to put back in were: apr.h, apr_pools.h, and apr_errno.h.
*) move apr_pool_t declaration and a few pool functions from apr_general.h
to apr_pools.h.
*) move kill_conditions and process_chain from apr_pools.h to
apr_thread_proc.h.
*) move apr_note_subprocess() from apr_general.h to apr_thread_proc.h
*) add stdio.h to apr_pools.c (compensate for removal from apr_general.h)
*) add apr_lib.h to apr_strnatcmp.c (compensate for apr_strings.h no longer
including apr_lib.h)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60796 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60477 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60420 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
store an MMAP file as far as I can see is as a void * and a length. BeOS
requires another variable, but it doesn't do any harm to expose that too.
This cleans up some code for Apache, and it makes sense IMHO.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60314 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
scripts to generate either plain text, html, or any other format perldoc
can generate. This also fixes the comments to say ap_pool instead of
ap_context.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59869 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
on Linux, but probably breaks somewhere.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59841 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
struct's where possible.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59769 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Ralf after I found that the test failed on FreeBSD.
Update the mmap code to use a much simpler API than previously. I'll
add documentation as well as support for this in http_core.c over the
weekend.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59473 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Also a couple of small corrections to previous code.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59453 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59444 13f79535-47bb-0310-9956-ffa450edef68
|
|
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59401 13f79535-47bb-0310-9956-ffa450edef68
|