Parent Directory
|
Revision Log
| Links to HEAD: | (view) (annotate) |
| Sticky Revision: |
Specify a pool for cache with apr_hash_pool_get instead of describing "pool" directly
Remove the conditional for APR >= 1.3. httpd 2.3 has needed APR 1.3 or later since r582069.
Make pline a child of main pool.
Fix a memory leak by freeing the memory every line.
Kill the hardcoded values
Declare the local variables in the more inner scope.
Kill the hardcoded values
* support/logresolve.c (main): Simplify to avoid conditionals in handling of lines without spaces: ensure a newline is printed for the cache-hit path and fix a crash in apr_file_printf for the cache-miss path.
Fix near-identical potential NULL pointer dereferences, as found by Jorton and corrected in r514915
Prevent format specifier busting.
Correct a spurious access to whatever memory is at location "1" in the cirumstance where a log line is of the form "nn.nn.nn.nn ".
correct some indentation, no functional changes
* support/logresolve.c (main): Fix potential NULL pointer dereference, found by Coverity analysis tool.
update license header text
Update the copyright year in all .c, .h and .xml files
No functional change: more indenting/formatting changes due to tabbing
No functional Change: Removing trailing whitespace. This also means that "blank" lines consisting of just spaces or tabs are now really blank lines
No functional change: simple detabbing of indented code.
Logresolve style and nit fix-ups: * Remove some redundant whitespace in variable declarations. * Add some whitespace for clarity around an if and a while statement. * Remove redundant and unneccessary casts * Use APR_HASH_KEY_STRING
A complete rewrite of support/logresolve.c:
* Now uses APR
* Supports IPv6 addresses
* Slighty less hurtful on memory
* archaic (but interesting) notes marked as historical
* Will not perform very well without APR >= 1.3 due to
lack of buffered file-io.
Allow httpd on NetWare to build using either the standard socket libraries or the Winsock libraries.
Update copyright year to 2005 and standardize on current copyright owner line.
general property cleanup
logresolve: Allow size of log line buffer to be overridden at build time (MAXLINE). PR: 27793
fix name of The Apache Software Foundation
fix copyright dates according the first cehck in
apply Apache License, Version 2.0
* support/logresolve.c (strdup): Remove, APR already provides this if necessary.
Fix up the log resolve utility to work with NetWare. Increased the stack size and fixed WSAStartup to use the correct version number
avoid colliding with getline() as defined by glibc (it breaks if you need to turn on _GNU_SOURCE)
* configure.in: added Cygwin specific APR_SETVARs.
* os/config.m4: added Cygwin specific values for $OS and $OS_DIR.
$OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things
clean as with 1.3.20.
* support/logresolve.c: added OS specific #ifdef statement to define
h_errno as extern __declspec(dllimport); it's imported from the
cygwin1.dll itself.
Submitted by: Stipe Tolj <tolj@wapme-systems.de>
renaming various functions for consistency sake see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by:
Cleanups so that the support programs build cleanly. The Win32 values need to be sanity checked. Submitted by: Cliff Woolley <cliffwoolley@yahoo.com> Reviewed by: Ryan Bloom
All the supports now build on APR (+APRUTIL), no reliance on httpd.
This should build entirely with APR support.
Get rid of some warnings on Solaris 8 by using APR's ctype macros: logresolve.c: In function `main': logresolve.c:327: warning: subscript has type `char' ab.c: In function `main': ab.c:1074: warning: subscript has type `char' ab.c:1087: warning: subscript has type `char'
prefix libapr functions and types with apr_
Get the ap_config.h cleanup working on FreeBSD by adding includes of additional system headers. A platform check in logresolve.c to determine whether or not we include <arpa/inet.h> was converted to a feature check.
Protect system header files with the appropriate macros.
Clean up a big chunk of ap_config.h. This basically stops ap_config.h from including any files. Because of this change, other files must include their own headers. I also cleaned up a couple of other bugs in some modules because I had to compile them all. I expect this to break multiple platforms, but this will be fixed over time. The massive configure cleanup is almost done. I will go through the files one more time after this commit.
Fix some compile breaks in the support directory. These have not been tested, but they do compile at least.
Some Windows tweaks from William Rowe... Submitted by: William Rowe
Missed this one when I was making the support programs compile on BeOS. All should now compile on "vanilla" BeOS.
These changes allow the support programs to compile on BeOS. The biggest change is in ab.c where the functions that BeOS needs that aren't the standard format are hidden behind a new ab_* define. Tested on FreeBSD and BeOS.
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll check this out tomorrow and make sure everything was checked in correctly.
Apache 1.3.9 baseline for the Apache 2.0 repository. Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9 Submitted by: Apache Group
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |