1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

102 Commits

Author SHA1 Message Date
Brian Pane
987b84f020 Performance optimization: use a temp buffer on the stack instead
of a malloc'ed buffer in regexec() in cases where the required
buffer size is small.

This will help us avoid a malloc/free pair when executing mod_rewrite
rules that use $1/$2/etc to reference sequences in the matched pattern.

Note: I've also submitted this change as a patch for PCRE, but because
the next PCRE release isn't planned until later this year I'm
committing it to the httpd-2.0 copy of PCRE in the meantime.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94069 13f79535-47bb-0310-9956-ffa450edef68
2002-03-21 04:17:11 +00:00
Cliff Woolley
0fd1fa6c7e Fix the build on Win32 by syncing up the .hw headers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94058 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 19:04:24 +00:00
Brian Pane
73cf0ac122 Fix for some damage that I did to configure.in while merging the
latest version of PCRE


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94047 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 06:56:34 +00:00
Brian Pane
e1352700de removing configure file that got picked up in PCRE 3.9 import
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94045 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 06:38:37 +00:00
Brian Pane
175a726e87 PCRE 3.9 merge
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94044 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 06:34:29 +00:00
Brian Pane
a3b01fe787 PCRE 3.9 merge
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94043 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 06:22:57 +00:00
Brian Pane
3585b72c41 resolve merge conflicts for PCRE 3.9
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94042 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 06:17:33 +00:00
Brian Pane
dcfb4eb1a3 This commit was generated by cvs2svn to compensate for changes in r8100,
which included commits to RCS files with non-trunk default branches.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94037 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 05:54:26 +00:00
Brian Pane
da5612c792 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94033 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 05:53:59 +00:00
Aaron Bannert
cabbbaaf08 Whoops, didn't mean to get rid of the whole line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92614 13f79535-47bb-0310-9956-ffa450edef68
2001-12-27 02:28:38 +00:00
Aaron Bannert
ab30b9262f This old variable does not appear to be in use any longer.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92613 13f79535-47bb-0310-9956-ffa450edef68
2001-12-27 02:18:58 +00:00
William A. Rowe Jr
54071db177 This broken bit causes a segfault after locking pconf as read-only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91181 13f79535-47bb-0310-9956-ffa450edef68
2001-09-28 17:15:12 +00:00
Ryan Bloom
73f768d207 rules.mk is stored in $(top_blddir). Without this change, VPATH builds
stop working.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91017 13f79535-47bb-0310-9956-ffa450edef68
2001-09-13 06:49:09 +00:00
Ryan Bloom
8e90e6632e Allow us to build APR before APR-util, but clean APR-util before
APR.  This should fix the build for BeOS.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90850 13f79535-47bb-0310-9956-ffa450edef68
2001-08-31 17:02:23 +00:00
David Reid
948fb7d00b With my normal sense of missing the boat :)
This gets the build working on BeOS again :)  Apologies for the delay :(

Jeff changed the order of apr-util and apr to solve a "cleaning" issue but
that makes me uncomfortable as apr-util is dependant on apr, so if we clean
apr-util we shouldn't be altering anything in apr.  If I decide to rebuild
apr-util then apr should still be buildable.  Sorry Jeff but I think we need
a different solution :(

Submitted by:	Peter Schultz <pete@beforever.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90844 13f79535-47bb-0310-9956-ffa450edef68
2001-08-31 09:47:53 +00:00
William A. Rowe Jr
f0362ccc07 Toggle the /Zi flag to allow all supportd versions of VC (5, 6, 7) to
build 'out of the box' in debugging mode.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90686 13f79535-47bb-0310-9956-ffa450edef68
2001-08-26 05:21:50 +00:00
William A. Rowe Jr
b8774027f9 The last of the ignore goodness for tonight
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90275 13f79535-47bb-0310-9956-ffa450edef68
2001-08-17 07:30:59 +00:00
William A. Rowe Jr
9062307073 The purpose of this patch is to toggle the debugging mode (default) to
Program Database (from Program Database for Modify on the fly debugging).

  The net effect of this patch is to clean up all of the irrelevant entries
  associated with either the debugging or release command line switches, and
  generally straighten the projects as they would be exported from VC6/SP5.

  The outcome of this patch is that VC5 users -should- be able to load and
  build the workspace without any errors (as they used to have no symbols
  database at all, the /ZI option doesn't work, they had to use cvtdsp.pl
  to toggle these to /Zi.)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90269 13f79535-47bb-0310-9956-ffa450edef68
2001-08-17 03:45:35 +00:00
William A. Rowe Jr
9bd41098dd Given a choice between chasing my tail to keep these updated, and rolling
a set when we actually roll a tarball, I'll take the later, thank you.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90268 13f79535-47bb-0310-9956-ffa450edef68
2001-08-17 03:23:58 +00:00
William A. Rowe Jr
3a2b78b469 Update for the 2.0.23 tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89994 13f79535-47bb-0310-9956-ffa450edef68
2001-08-07 17:21:21 +00:00
Jeff Trawick
8cc619e5bc get "make extraclean" working for apr-util again
the apr-util build now depends on files in apr;
"make extraclean" in apr removes some of those files, causing
a subsequent "make extraclean" in apr-util to blow*; make in
apr-util first so we don't have this problem

*on some platforms make aborted; on others the error was
ignored though apr-util wasn't cleaned


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89825 13f79535-47bb-0310-9956-ffa450edef68
2001-07-31 12:19:55 +00:00
William A. Rowe Jr
f6f3f613e3 Refresh .mak files for tagging 2.0.19
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89458 13f79535-47bb-0310-9956-ffa450edef68
2001-06-28 00:31:04 +00:00
William A. Rowe Jr
9fbff666ad Ignore for simplistic win32 builders (and anyone else who wants to
park openssl here.)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89456 13f79535-47bb-0310-9956-ffa450edef68
2001-06-28 00:12:52 +00:00
William A. Rowe Jr
5383bde83c Time to refresh mak on Win32
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88728 13f79535-47bb-0310-9956-ffa450edef68
2001-04-05 09:21:46 +00:00
William A. Rowe Jr
f9ef03c36d Goodbye srclib/expat ... completes the build for srclib/apr-util/xml/expat
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88474 13f79535-47bb-0310-9956-ffa450edef68
2001-03-08 16:12:34 +00:00
William A. Rowe Jr
d3fdebba53 A patch to clean up much bogusity in Win32. Eliminates absolute cd "/..."
references using build/fixwin32mak.pl, and the latest #if APR_HAVE_FOO_H
  fixes apparently worked, now that they no longer appear as dependencies
  [which had broken the build entirely.]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88336 13f79535-47bb-0310-9956-ffa450edef68
2001-02-25 22:20:25 +00:00
William A. Rowe Jr
404e9d47c3 Pay no attention to the man behind the curtain.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88331 13f79535-47bb-0310-9956-ffa450edef68
2001-02-25 20:55:55 +00:00
William A. Rowe Jr
c4709d6d7c Add the expat.mak to the command-line build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88329 13f79535-47bb-0310-9956-ffa450edef68
2001-02-25 20:51:20 +00:00
William A. Rowe Jr
b5ecd00e7a Fix the build schema : add a library version, expat.lib, for static
linkage.  Also depreciate the libexpat.def with some export magic.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88328 13f79535-47bb-0310-9956-ffa450edef68
2001-02-25 20:50:22 +00:00
William A. Rowe Jr
77390b6985 Refresh all .mak files should we choose to roll again shortly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88317 13f79535-47bb-0310-9956-ffa450edef68
2001-02-25 02:53:30 +00:00
Ryan Bloom
fb0876d20c We need to build expat-lite before APR-utils, so just move that variable
to before apr-util.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88303 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 19:16:04 +00:00
William A. Rowe Jr
9e8b1e96f4 Cleanup some headers. pcre uses the _WIN32 symbol, not WIN32
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87896 13f79535-47bb-0310-9956-ffa450edef68
2001-01-28 18:46:08 +00:00
Ben Laurie
4b7e6d666c Reapply patch for chartables.c, only this time in both places (not having it
breaks FreeBSD 3.2).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87866 13f79535-47bb-0310-9956-ffa450edef68
2001-01-27 16:15:25 +00:00
Jeff Trawick
d51b0e5f0c back out the previous change, which broke FreeBSD 3.4, OS/390, Tru64,
BeOS, and perhaps other platforms


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87649 13f79535-47bb-0310-9956-ffa450edef68
2001-01-11 00:58:00 +00:00
Ben Laurie
7bbfc67213 For some reason the chartables.c target requires a full path.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87603 13f79535-47bb-0310-9956-ffa450edef68
2001-01-07 16:37:12 +00:00
dgaudet
644cc2eefc - add some missing distclean targets
- use DISTCLEAN_TARGETS and CLEAN_TARGETS everywhere (to be consistent
with other macros and with APR)
- warn that aclocal.m4 is a generated file


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87597 13f79535-47bb-0310-9956-ffa450edef68
2001-01-06 21:47:49 +00:00
William A. Rowe Jr
67ae4c25f3 More Win32 Goodness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87497 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 19:51:06 +00:00
William A. Rowe Jr
c876e8476a Out of the sandbox and into prime time. Note... these should always and
only be regenerated immediately prior to the tag and roll.  Do not assume
  they are current with the sources in the development tree.  They should
  be generated as vc5 make files, since only vc5 makefiles are readable by
  both vc5 and vc6.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87479 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:46:22 +00:00
William A. Rowe Jr
0a37cdf9fe Correction, commited the vc5. Need vc6 in the tree. Humble appologies.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87475 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:25:10 +00:00
William A. Rowe Jr
4315b0c706 The Win32 overhaul, in summary;
Modules are named mod_foo.so
    Dynamic Libraries are named libfoo.dll, and are stored in bin/
    The former ApacheCoreDll is now libhttpd.dll
    Apache.exe moves to bin/
    The make install now copies include, lib, and libexec
    All build options are normalized, filenames adjusted appropriately


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87471 13f79535-47bb-0310-9956-ffa450edef68
2000-12-21 01:04:49 +00:00
William A. Rowe Jr
1c1bd5b64c Clean up expatlib for the new /GX-, +/Fd and Debug/Release .dll targets.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87271 13f79535-47bb-0310-9956-ffa450edef68
2000-12-09 16:19:47 +00:00
William A. Rowe Jr
804f1203ba pcre lives in harmony in Lib[D|R] without /GX, after an /Fd flag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87270 13f79535-47bb-0310-9956-ffa450edef68
2000-12-09 16:15:19 +00:00
William A. Rowe Jr
f119cafbaa This patch illustrates the new locations, and makes the majority of the
adjustments.  Now to actually try to build the thing.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87212 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 16:37:50 +00:00
Ryan Bloom
84c3dcd65b Add apr-util to the build process. This should now build once everything
has been checked out to the correct locations.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87197 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 04:30:55 +00:00
Ryan Bloom
b1e313ee47 Get base Apache to build properly. This doesn't solve the problem of
not having apr-util, but we should be getting to the link stage now.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87190 13f79535-47bb-0310-9956-ffa450edef68
2000-12-05 00:36:09 +00:00
Greg Stein
ae06db8148 missed one. This is needed to build the new aputil library.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87084 13f79535-47bb-0310-9956-ffa450edef68
2000-11-26 15:33:04 +00:00
William A. Rowe Jr
a961325c7c As promised, and discussed on new-httpd, goodbye ordinals.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87008 13f79535-47bb-0310-9956-ffa450edef68
2000-11-18 14:58:21 +00:00
Jeff Trawick
02b0fb6668 Ignore generated file pcre.h.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86960 13f79535-47bb-0310-9956-ffa450edef68
2000-11-14 12:10:29 +00:00
William A. Rowe Jr
fdc82e1174 Enough of pcre.h, begone vile beast
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86679 13f79535-47bb-0310-9956-ffa450edef68
2000-10-21 10:01:41 +00:00
William A. Rowe Jr
ac4e80a356 Don't you love clean checkouts :-) Wrong href on dbmmanage, to boot
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86677 13f79535-47bb-0310-9956-ffa450edef68
2000-10-20 15:35:13 +00:00