| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function is handy outside apu_crypto usage, don't require users to link
to APU for the feature.
This commit moves the apr_crypto_memzero() implementation to apr_strings under
the apr_memzero_explicit() name, and replaces the calls to the former with the
latter, and apr_crypto_memzero() now calls apr_memzero_explicit() directly.
* include/apr_strings.h():
Declare apr_memzero_explicit().
* strings/apr_strings.c():
Implement apr_memzero_explicit() by moving/renaming the code from apu_crypto.
* crypto/apr_crypto.c(apr_crypto_memzero):
Fall back to apr_memzero_explicit().
* crypto/apr_crypto.c(crypto_clear):
Use apr_memzero_explicit() instead of apr_crypto_memzero().
* crypto/apr_crypto_prng.c(cprng_cleanup, cprng_stream_bytes,
apr_crypto_prng_reseed, cprng_bytes,
apr_crypto_prng_rekey, apr_crypto_prng_after_fork):
Use apr_memzero_explicit() instead of apr_crypto_memzero().
* crypto/apr_md4.c(MD4Transform):
Use apr_memzero_explicit() instead of apr_crypto_memzero().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902323 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Add some links to function
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839182 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1575340 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1402868 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
This allows gcc's -D_FORTIFY_SOURCE=2 to do some overflow checks
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1341193 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@882260 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
PR 47322.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@782838 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
for GCC >= 4; triggers a compiler warning if the function is called
without a final NULL argument.
* include/apr_tables.h (apr_table_do): Likewise.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@683278 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@608928 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Apache 1.3's ap_pstrndup() in that it doesn't overallocate
memory for the resulting string.
Submitted by: trawick, jorton
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@475750 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: https://svn.apache.org/repos/asf/apr/apr/trunk@65120 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
errors, fix a "nil".
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65098 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
confusion.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65006 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@64872 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
works. Document the "new" special case.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63852 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
I have nothing against spelling out apr_atoint64 but I think that's
probably excessive.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63780 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
apr_atol().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63732 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
fix the parms to strtol[l] in apr_strtoll
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63731 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Shantonu Sen <ssen@apple.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63730 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
axes it for Win32, but it's a transition that was necessary [at some
point in the future.] The change is a noop on all other platforms.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63528 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
uses writev-style arguments. It's a faster alternative to
apr_strcat() in situations where the caller knows the lengths
of the strings to be concatenated.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63387 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
apr_pstrndup() except that it's optimized for the case where
the caller can guarantee that the length of the supplied string
is >= 'n'
Submitted by: Brian Pane <bpane@pacbell.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62594 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
have Doxygen format headers
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62222 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
works within a fixed buffer. I'm open to using the old ap_send_size()
text formatting, but this result is one character shorter in size
and equally readable.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62023 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62018 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This includes two changes to APR:
* new functions apr_itoa, apr_ltoa, and apr_off_t_toa
that provide itoa-type functionality based on pools
* Inline code in inet_ntop4 to replace sprintf for converting
binary IP addresses into dotted-decimal format
and two changes to Apache:
* use the apr_itoa functions in setting the content length,
in place of apr_psprintf
* use the apr_itoa functions to replace frequent uses of
'sprintf("%d",...)' in mod_log_config.
Submitted by: Brian Pane
Reviewed by: Dean Gaudet, Greg Ames
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62015 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61770 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
same interface as strtok_r().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61673 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61669 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
if we are going to bury -1 flags (I'd prefer the flag cast to apr_size_t
and use that value throughout the hash api, however.)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61649 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
fixes a couple of mismatched parameters highlighted revealed by the
attribute.
Submitted by: Jon Travis <jtravis@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61280 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
*) optimize the allocation size in apr_pstrndup()
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61222 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61214 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
apr_strings.h header, from apr_lib.h. This location makes more
sense.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61205 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@60880 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@60615 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
|