Re: apr_dbd_init

2006-03-31 Thread Nick Kew
On Tuesday 28 March 2006 00:21, Bojan Smojver wrote: Quoting Nick Kew [EMAIL PROTECTED]: I don't think your suggestion is quite enough, as the lifetime of drivers is tied to the pool. But if we add a pool cleanup that resets drivers to NULL, it should be fine AFAICS. I'll put that in

[PATCH] get string showing supported dbm types in typical usage-syntax manner

2006-03-31 Thread Jeff Trawick
Apache httpd's htdbm's often-incorrect usage statement could use something like this patch: -fprintf(stderr,-T DBM Type (SDBM|GDBM|DB|default).\n); +fprintf(stderr,-T DBM Type (%s).\n, +apr_dbm_typestring_get(pool)); Or should applications that need to do

Re: [PATCH] get string showing supported dbm types in typical usage-syntax manner

2006-03-31 Thread Jim Jagielski
Jeff Trawick wrote: Apache httpd's htdbm's often-incorrect usage statement could use something like this patch: -fprintf(stderr,-T DBM Type (SDBM|GDBM|DB|default).\n); +fprintf(stderr,-T DBM Type (%s).\n, +apr_dbm_typestring_get(pool)); Or should

Re: [PATCH] get string showing supported dbm types in typical usage-syntax manner

2006-03-31 Thread William A. Rowe, Jr.
I was about to say 'wrong list?' - but yes. Can we add a second arg to let the user pick |, , or some other list delim? Is there something we can do to indicate which one -is- the default? Jeff Trawick wrote: Apache httpd's htdbm's often-incorrect usage statement could use something like

Re: [PATCH] get string showing supported dbm types in typical usage-syntax manner

2006-03-31 Thread Jeff Trawick
On 3/31/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: I was about to say 'wrong list?' - but yes. Can we add a second arg to let the user pick |, , or some other list delim? sure Is there something we can do to indicate which

Re: [PATCH] get string showing supported dbm types in typical usage-syntax manner

2006-03-31 Thread Garrett Rooney
On 3/31/06, Jim Jagielski [EMAIL PROTECTED] wrote: Jeff Trawick wrote: Apache httpd's htdbm's often-incorrect usage statement could use something like this patch: -fprintf(stderr,-T DBM Type (SDBM|GDBM|DB|default).\n); +fprintf(stderr,-T DBM Type (%s).\n, +

Re: svn commit: r390399 - in /apr/apr-util/trunk/dbd: apr_dbd_pgsql.c apr_dbd_sqlite2.c apr_dbd_sqlite3.c

2006-03-31 Thread Garrett Rooney
On 3/31/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: niq Date: Fri Mar 31 04:09:39 2006 New Revision: 390399 URL: http://svn.apache.org/viewcvs?rev=390399view=rev Log: apr_dbd_get_name driver patches from Bojan Smojver This kind of stuff should really get a CHANGES entry,

0.9.11 .zip with win32 .mak/.dsp files

2006-03-31 Thread William A. Rowe, Jr.
I've exported the same build with these exported command-line makefiles that are usable on either VS5/6 or later flavors of Studio. I'm wondering if I should upload them as apr*-0.9.11.zip or give these a designation such as apr*-0.9.11-win32-src.zip? Also wondering, I have the same for

Re: [PATCH] get string showing supported dbm types in typical usage-syntax manner

2006-03-31 Thread Max Bowsher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Trawick wrote: On 3/31/06, William A. Rowe, Jr. [EMAIL PROTECTED] wrote: I was about to say 'wrong list?' - but yes. Can we add a second arg to let the user pick |, , or some other list delim? sure

Re: 0.9.11 .zip with win32 .mak/.dsp files

2006-03-31 Thread Colm MacCarthaigh
On Fri, Mar 31, 2006 at 02:58:19PM -0600, William A. Rowe, Jr. wrote: I've exported the same build with these exported command-line makefiles that are usable on either VS5/6 or later flavors of Studio. I'm wondering if I should upload them as apr*-0.9.11.zip or give these a designation such

1.x trees broken

2006-03-31 Thread William A. Rowe, Jr.
Would whoever's contributed to this conundrum please comment why... [EMAIL PROTECTED] httpd-2.x]$ ./configure --with-apr=srclib/apr --with-apr-util=srclib/apr-util --with-mpm=prefork --with-shared-mods=all [...] Configuring Apache Portable Runtime library ... checking for APR... configure:

Re: 1.x trees broken

2006-03-31 Thread Colm MacCarthaigh
On Fri, Mar 31, 2006 at 04:31:14PM -0600, William A. Rowe, Jr. wrote: Would whoever's contributed to this conundrum please comment why... that hasn't ever worked afaict, see r356960 in apr trunk :) The _find macros that are in the respective trunks attempt to fix some of this problem, but

Makefile.in does not take external LIBS LDFLAGS

2006-03-31 Thread Henry Jen
Hi, Specifying LIBS/LDFLAGS is not working with configure. For example, $ LDFLAGS='-R/usr/sfw' ./configure --with-apr=../apr \ --with-expat=/usr/sfw will not have the -R flag in the Makefile. Attached patch fix this. I wonder this is a reason for not having LIBS/LDFLAGS in purpose as this

[PATCH] correct a couple of typos in build/dbd.m4

2006-03-31 Thread Peter Wojciechowski
I started mucking around with mod_dbd, and noticed a couple of typos with dbd.m4, and a small update to INSTALL.MySQL. -Peter --- build/dbd.m4 2005-05-05 12:24:29.0 -0700 +++ ../apr-util-1.2.6_new/build/dbd.m4 2006-03-31 06:48:03.0 -0800 @@ -81,27 +81,27 @@ if test

Patch for checking expat on Solaris

2006-03-31 Thread Henry Jen
Hi, Attached patch allows to build apr-util with system provided libexpat on OpenSolaris. On the machine, there is a expat.h and libexpat.so.* in /usr/sfw/include and /usr/sfw/lib. But there is no .a or .la file. It should not be required to have a .la file, not to mention a .a file. .a

Re: svn commit: r390549 - /apr/apr-util/trunk/include/apr_dbd.h

2006-03-31 Thread William A. Rowe, Jr.
When did we drift back to this naming convention? I thought we were trying to move twords lib_object_subobject_verb? E.g. apr_dbd_name_get? It's really aggrivating to use an api that's pulling in both directions at once :( Bill [EMAIL PROTECTED] wrote: Author: niq Date: Fri Mar 31 16:28:12