Bug report for APR [2009/04/19]

2009-04-20 Thread bugzilla
+---+ | Bugzilla Bug ID | | +-+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned

apr_dbd_get_name() emulation in apr-util 1.2

2009-04-20 Thread Dave Ingram
Hi all, I've recently discovered that the current stable version of Debian ships with apr-util 1.2 (even though 1.3 has been out for eight months!), but an Apache module that I've written relies on fetching column names from a database query. Does anyone have any suggestions as to how I could

Re: apr_dbd_get_name() emulation in apr-util 1.2

2009-04-20 Thread Bojan Smojver
On Mon, 2009-04-20 at 11:45 +0100, Dave Ingram wrote: Does anyone have any suggestions as to how I could emulate this for systems using older versions of apr-util? One (terrible) way to do it is here: http://www.rexursive.com/svn/mod_spin/trunk/src/db.c Look for words: BIG TIME CHEATING in

apr_file_open() flag issue

2009-04-20 Thread Marc Adkins
I found this in mod_perl but the issue can be demonstrated without Perl. Attempting to open a file for append using the following flags: APR_BUFFERED | APR_BINARY | APR_CREATE | APR_APPEND will not work. The apr_file_open() function returns APR_EACCES. If the following flags are used:

apr_file_open() flag issue

2009-04-20 Thread Marc Adkins
I found this in mod_perl but the issue can be demonstrated with Perl alone and also without Perl. I'll start from the latter... Attempting to open a file for append using the following flags: APR_BUFFERED | APR_BINARY | APR_CREATE | APR_APPEND will not work. The apr_file_open() function

Re: apr_file_open() flag issue

2009-04-20 Thread Jeff Trawick
(I'm not subscribed to d...@perl...) On Mon, Apr 20, 2009 at 6:18 PM, Marc Adkins madk...@marchex.com wrote: I found this in mod_perl but the issue can be demonstrated without Perl. Attempting to open a file for append using the following flags: APR_BUFFERED | APR_BINARY | APR_CREATE |