apr_sha1

2004-12-05 Thread Thom May
Guys, any reason why apr_sha1_* are declared as void, and apr_md*_* are apr_status_t? Any objections (I have patch plus tests ready to go) for fixing this on HEAD? -T

Re: Branches, please vote...

2004-11-24 Thread Thom May
* Cliff Woolley ([EMAIL PROTECTED]) wrote : On Sat, 20 Nov 2004, Justin Erenkrantz wrote: Opinions on my '?'s above? Looks good. -- justin Likewise +1 to all. +1 here too. -Thom -- That sounds like a lot of work... Can we out source? The Revolution will not be outsourced!

Re: [PATCH] APR hash table memory use

2004-11-14 Thread Thom May
Committed to HEAD, thanks. -Thom * Julian Foad ([EMAIL PROTECTED]) wrote : The Subversion project encountered a usage pattern of APR hash tables that caused many megabytes of memory to be occupied by a small hash table after a sequence of many thousands of (insert, delete) pairs. They have

Re: APR 0.9: apr_temp_dir_get broken

2004-04-26 Thread Thom May
* Andr? Malo ([EMAIL PROTECTED]) wrote : The test file is missing a placeholder pattern. That made the use of htpasswd impossible. The following is just a backport from 1.0: yeah. +1. (mutters about glibc being stricter than bsd's libc on this one). -Thom Index: tempdir.c

Re: [PROPOSAL] Move APR to the subversion repository

2004-03-13 Thread Thom May
* Justin Erenkrantz ([EMAIL PROTECTED]) wrote : --On Friday, March 12, 2004 7:25 PM +0100 Sander Striker [EMAIL PROTECTED] wrote: I hereby would like to propose that we move APR to the Subversion repository at http://svn.apache.org/repos/asf/. Subversion had a 1.0 release februari 23rd.

Re: routines for fetching load average?

2004-02-11 Thread Thom May
* Ben Laurie ([EMAIL PROTECTED]) wrote : Bill Stoddard wrote: Rodent of Unusual Size wrote: Rodent of Unusual Size wrote: would anyone have any thoughts about the idea of adding an api to obtain the system load average? i ask because i need it for an httpd module i'm writing, and

Re: roll some tarballs tomorrow?

2003-10-28 Thread Thom May
* Cliff Woolley ([EMAIL PROTECTED]) wrote : I'm planning on rolling 0.9.5 and 1.0-pre1 tarballs tomorrow (Wednesday) unless somebody has strenuous objections. +1 -Thom

Re: [proposal for 1.0 API] axe apu_compat.h and apr_compat.h?

2003-09-05 Thread Thom May
* Jeff Trawick ([EMAIL PROTECTED]) wrote : comments? +1 -Thom

Re: [VOTE] Time for APR 1.0

2003-08-31 Thread Thom May
* Sander Striker ([EMAIL PROTECTED]) wrote : From: Justin Erenkrantz [mailto:[EMAIL PROTECTED] Sent: Sunday, August 31, 2003 6:56 PM I'd like to propose a vote: [X] - Yes, I think we're ready for 1.0 now (in both apr and apr-util) [ ] - No, I think we're not ready for 1.0 because

Re: [patch include/apr_hooks.h] wrong function is deprecated

2003-08-15 Thread Thom May
* Stas Bekman ([EMAIL PROTECTED]) wrote : it should be the other way around: apr_global_hook_pool is the deprecated one Good catch, thanks. Committed. -Thom

Re: cvs commit: apr apr-config.in

2003-06-03 Thread Thom May
trying to build in /usr/src (a symlink in the normal install)? Ben Laurie and Thom May came up with something for that. Simulating realpath using ls. Thom was going to implement it ... did he? No, sadly he didn't yet. -Thom

Re: autoconf problems with the apr RC2 / powerpc-ibm-aix5.1.0.0

2003-03-25 Thread Thom May
* Stas Bekman ([EMAIL PROTECTED]) wrote : William A. Rowe, Jr. wrote: At 06:10 PM 3/24/2003, Stas Bekman wrote: Mea Culpa. Running buildconf has resolved the problem. for some reason I thought that 'make distclean' does a total clean. Since we distribute ./configure, no, make

Re: apr-util buildconf copying rules.mk from ../apr

2003-02-04 Thread Thom May
* Jeff Trawick ([EMAIL PROTECTED]) wrote : The copy of rules.mk isn't needed until after apr-util configure (i.e., the first chance for user to run make), so it can be copied at the end of configure when makefiles are being generated. That way apr-util's buildconf can be run even if apr

Re: apr-util buildconf copying rules.mk from ../apr

2003-02-04 Thread Thom May
* Garrett Rooney ([EMAIL PROTECTED]) wrote : Thom May wrote: +dnl copy apr's rules.mk into our build directory. +cp $APR_BUILD_DIR/build/rules.mk $abs_srcdir/build/rules.mk + dnl dnl BSD/OS (BSDi) needs to use a different include syntax in the Makefiles dnl so this means we're

Re: apr-util buildconf copying rules.mk from ../apr

2003-02-04 Thread Thom May
* Branko ??ibej ([EMAIL PROTECTED]) wrote : Justin Erenkrantz wrote: --On Tuesday, February 4, 2003 2:09 PM + Thom May [EMAIL PROTECTED] wrote: builds/rules.mk is installed so that's not a problem. Um, no. It's not. httpd happens to install *its* rules.mk. But, APR

Re: warnings from sys/syslimits.h on FreeBSD 5.0

2003-01-21 Thread Thom May
* Craig Rodrigues ([EMAIL PROTECTED]) wrote : On Tue, Jan 21, 2003 at 09:51:47AM -0500, Garrett Rooney wrote: looking in apr.h where we include sys/syslimits.h, we're also including limits.h, which on this system gets us the contents of sys/syslimits.h anyway, so my first instinct is to

Re: warnings from sys/syslimits.h on FreeBSD 5.0

2003-01-21 Thread Thom May
* Garrett Rooney ([EMAIL PROTECTED]) wrote : Thom May wrote: surely you mean: #include limits.h #elsif APR_HAVE_SYS_SYSLIMITS_H #include ... otherwise we still have the same problem? -Thom changing it to #if APR_HAVE_LIMITS_H #include limits.h #else

Re: warnings from sys/syslimits.h on FreeBSD 5.0

2003-01-21 Thread Thom May
* Garrett Rooney ([EMAIL PROTECTED]) wrote : Thom May wrote: surely you mean: #include limits.h #elsif APR_HAVE_SYS_SYSLIMITS_H #include ... otherwise we still have the same problem? -Thom changing it to #if APR_HAVE_LIMITS_H #include limits.h #else

Re: cvs commit: apr/include/arch/win32 apr_arch_fileio.h

2003-01-07 Thread Thom May
* Cliff Woolley ([EMAIL PROTECTED]) wrote : On 7 Jan 2003 [EMAIL PROTECTED] wrote: Log: Finish off the rename of include/arch #include apr_thread_proc.h -#include fileio.h +#include apr_arch_fileio.h While we're at it (yes Thom, I'm just trying to make more work for

Re: arch specific include files, the naming thereof

2003-01-06 Thread Thom May
* Greg Stein ([EMAIL PROTECTED]) wrote : On Sun, Jan 05, 2003 at 11:59:50PM -0500, Cliff Woolley wrote: ... My argument against using apr_*.h would be twofold. Fair enough... both points make sense. Ok, so this looks like a rough consensus on apr_private_*.h, right? What's the best way to

Re: Renaming files in cvs, WAS: RE: arch specific include files, the naming thereof

2003-01-06 Thread Thom May
* Justin Erenkrantz ([EMAIL PROTECTED]) wrote : --On Monday, January 6, 2003 4:01 PM +0100 Sander Striker [EMAIL PROTECTED] wrote: Ahum, this would be messing with history, like you say above. Can't we just: cvs rm foo.c cvs add foobar.c cvs ci -m Moved foo.c to foobar.c That seems

[WARNING] namespace protection of header files about to commence

2003-01-06 Thread Thom May
I cannot test on win32; and am reasonably confident that the dsp files etc are not going to be correct. The changes look good on linux and OS X; they pass testall at both locations. -Thom

arch specific include files, the naming thereof

2003-01-05 Thread Thom May
the header files in include/arch/*/* currently have very generic names, like dso.h. I got bit by this earlier when trying to specify the location of OpenSSL, which also ships a dso.h Would anyone have any objections to renaming them as apr_*_private.h/apr_private_*.h ? I volunteer to do it, just

Re: Apache release compatibility, WAS: RE: svn commit: rev 4239 - trunk/subversion/libsvn_subr

2003-01-03 Thread Thom May
That's going to be interesting from the Subversion perspective though. We may be forced *not* to use APR 1.0 because httpd-2.0 won't work with it. It's fun, isn't it? Perhaps we'll relax this policy and not drop deprecated functions until APR 2.0, but that's an awful lot of cruft to

Re: cvs commit: apr/user/win32 groupinfo.c userinfo.c

2003-01-01 Thread Thom May
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote : thommay 2002/12/31 16:02:01 foiled by time zones again! It's 2003 here, anyway ;-) Happy New Year, y'all -Thom

Re: APR_TMP_DIRECTORY

2002-12-08 Thread Thom May
* Wilfredo Sanchez ([EMAIL PROTECTED]) wrote : On Saturday, December 7, 2002, at 01:56 PM, Jim Jagielski wrote: Wilfredo Sanchez wrote: That implies that the app should, if it wants to, check for TMPDIR, and if not set, then call apr_get_tempdir(). Not to have apr_get_tempdir() do

Re: cvs commit: apr/build Makefile.in

2002-12-08 Thread Thom May
Hmmph. The log message should've said: Added ltcf-c.sh to cvsignore and to extraclean targets. * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote : thommay 2002/12/08 09:16:25 Modified:..cvsignore buildMakefile.in Log: Revision ChangesPath

Re: APR_TMP_DIRECTORY

2002-12-07 Thread Thom May
* Dirk-Willem van Gulik ([EMAIL PROTECTED]) wrote : On Fri, 6 Dec 2002 [EMAIL PROTECTED] wrote: You are advocating that we use tempfile() to get a filename. At what No; I am advocating to -NOT- (or at least grudgingly) give the naive app develoepr the means to shoot the poor

(forw) [thom@planetarytramp.net: Re: exports]

2002-12-04 Thread Thom May
*mutters* ---BeginMessage--- * David Reid ([EMAIL PROTECTED]) wrote : OK, so it's not just beos :) Must be certain versions of awk or some such... What versions do you have? I'm using GNU Awk 3.0 GNU Awk 3.0.3 on NetBSD; Mawk 1.3.3 on Linux With GNU Awk 3.1.1 on Linux, the build is still

Re: APR_TMP_DIRECTORY

2002-12-04 Thread Thom May
* David Reid ([EMAIL PROTECTED]) wrote : If we don't have such a declare maybe we should add one? I say this as htpasswd.c (in httpd) uses P_tmpdir that isn't portable and breaks the beos build. Also Thom found a note in his stdio.h file saying that it wasn't the right way to do things, and I

Renames (Gee, it's a mail from thom, it must be renames)

2002-11-20 Thread Thom May
So what is the consensus with the renames? The patch is available from http://cvs.apache.org/~thommay/full-rename-diff and seems good - it builds and passes tests on (at least) BeOS and OS X. Also, httpd and svn don't need any changes to still work - the functions are all wrapped by the old names.

Re: apr_get_groupname()

2002-11-20 Thread Thom May
* Sebastian Bergmann ([EMAIL PROTECTED]) wrote : apr_get_groupname() is declared twice in apr/user/win32/groupinfo.c: Thanks, fixed. -Thom

Re: apu-config

2002-09-27 Thread Thom May
* Oden Eriksson ([EMAIL PROTECTED]) wrote : Hi. I'm maintaining the apache2 packages for Mandrake Linux, and wonder if I could ask som questions here? I noticed that the apr* stuff now uses the config.layout, nice! But..., currently the generated apu-config file does not honor the

Re: compile/link of apr based programs

2002-09-17 Thread Thom May
apr-config, if you want apr-util, use apu-config only. -T -- Thom May - [EMAIL PROTECTED] buxy asuffield: my english is not so bas as you may think ;-)

Re: cvs commit: apr/strings apr_snprintf.c

2002-08-27 Thread Thom May
specific. gar. -Thom -- Thom May - [EMAIL PROTECTED] moshez wiggy: I just hurt other people. because I am evil!! muhahahahahahahaha! evil, I tell you, evil

Re: An open source project using APR

2002-08-19 Thread Thom May
tool Subversion OPENdj Cheers, -Thom -- Thom May - [EMAIL PROTECTED] Knghtbrd- for the record: Knghtbrd- AGH! * Knghtbrd- gets back to abusing gdm

Re: cvs commit: apr/test Makefile.in

2002-08-14 Thread Thom May
distributor taking their own approach - is gonna make life easier for everyone. So, +1 to (both) Greg's proposals from here. -Thom -- Thom May - [EMAIL PROTECTED] Personally, I quite like the little pictures they display when things are scanned. Just so you know what a zucchini looks like before

Re: cvs commit: apr/test Makefile.in

2002-08-14 Thread Thom May
apr_layout.m4 or whatever, and then call the macro. We would, I guess, update httpd so we just had one canonical APR_LAYOUT implementation. -Thom -- Thom May - [EMAIL PROTECTED] * moshez tries to understand why in god's name /usr is symlinked to / on the hurd vorlon-work moshez: the same reason

Re: atol

2002-07-24 Thread Thom May
adds an APR function apr_atoll which returns a long long. It uses strtoll is available, otherwise falls back to strtol. Questions: 1- Is adding apr_strtoll kosher? +1 2- Should I also add apr_strtoll for completeness? +1 -Thom -- Thom May - [EMAIL PROTECTED]

Re: Hehe, sure is a lot of code now

2002-07-21 Thread Thom May
68030(running Debian linux)... Now, that takes a while - call it 8 hours, the last time I tried. -Thom, daring someone to dig out an atari st and build it on that. -- Thom May - [EMAIL PROTECTED] * edward just installed gbuffy edward (mail notifier) infinity Dang. infinity How disappointing

Re: [PATCH] docstrings on apr_filepath_merge() flags?

2002-07-18 Thread Thom May
* Ben Collins-Sussman ([EMAIL PROTECTED]) wrote : I've got a path as a command-line argument, and I'm trying to convert it to canonical case using apr_filepath_merge: apr_err = apr_filepath_merge (truenamed_target, NULL, raw_target,

Re: cvs commit: apr renames_pending

2002-07-15 Thread Thom May
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote : wrowe 2002/07/15 00:42:35 Modified:.renames_pending Log: Two down. Don't know if I agree with the entire host of these becoming apr_socket_ foo, but, well... I won't argue. Please do. That was why I commited

Re: Only ONE back-compat hole discovered.

2002-06-27 Thread Thom May
, it would be great to get APR to 1.0 as soon as possible. I just don't think it's there yet. Cheers, -Thom -- Thom May - [EMAIL PROTECTED] we can tell that a Debian release is about to happen. Or something. I sense a disturbance in the force ? As though millions of voices cried out, and ran

Re: Packaging/version question

2002-06-20 Thread Thom May
? Regards, joe -- Thom May - [EMAIL PROTECTED] Historically speaking, the presences of wheels in Unix has never precluded their reinvention. - Larry Wall

Re: Renames pending, WAS: RE: cvs commit: httpd-2.0/server/mpm/worker worker.c

2002-05-30 Thread Thom May
? Also, Thom May posted a long list of suggestions a while back. Noone seems to have responded to that. Attached. -- Thom May - [EMAIL PROTECTED] Stibbons pants is like fuck. It can be good or bad. Index: renames_pending

Re: cvs commit: apr/build apr_common.m4

2002-05-14 Thread Thom May
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote : jerenkrantz02/05/14 00:35:58 Modified:buildapr_common.m4 Log: Add APR_MKDIR_P_CHECK macro based on httpd-2.0's APACHE_MKDIR_P_CHECK. Revision ChangesPath 1.32 +20 -0 apr/build/apr_common.m4 Are you

Re: [PATCH] Use handcoded assembly on Linux for atomics

2002-04-22 Thread Thom May
* Justin Erenkrantz ([EMAIL PROTECTED]) wrote : I *really* need help testing this. Create atomic/linux/Makefile.in atomic/linux/apr_atomic_linux.c from the fragments below and and apply these patches. [...] I tried to keep the general idea of the code as close as I could to the original

Re: [PATCH] Use handcoded assembly on Linux for atomics

2002-04-22 Thread Thom May
* Thom May ([EMAIL PROTECTED]) wrote : * Justin Erenkrantz ([EMAIL PROTECTED]) wrote : I *really* need help testing this. Create atomic/linux/Makefile.in atomic/linux/apr_atomic_linux.c from the fragments below and and apply these patches. [...] I tried to keep the general idea

Re: [PATCH] Use handcoded assembly on Linux for atomics

2002-04-22 Thread Thom May
* Thom May ([EMAIL PROTECTED]) wrote : * Thom May ([EMAIL PROTECTED]) wrote : * Justin Erenkrantz ([EMAIL PROTECTED]) wrote : I *really* need help testing this. Create atomic/linux/Makefile.in atomic/linux/apr_atomic_linux.c from the fragments below and and apply these patches

Re: [PATCH] apr_atomic.h on Linux

2002-04-20 Thread Thom May
APR to be able to support all of them the same - are you proposing to keep inline assembler in APR for all these cases? (apache | 1.3.24-2.1 | alpha, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc) Cheers, -Thom -- Thom May - [EMAIL PROTECTED] aj *sigh* you'd think

[PATCH] Rename apr_get_groupname

2002-04-15 Thread Thom May
Hi, this is a patch to rename apr_get_groupname to apr_group_name_get Patch for httpd2 is following, svn is not touched. -- Thom May - [EMAIL PROTECTED] The memory management on PowerPC can be used to frighten small children. -- Linus Torvalds Index: renames_pending

VPATH builds

2002-04-14 Thread Thom May
is incorrect. It must specify an install prefix, a build directory, or an apr-config file. configure failed for srclib/apr-util I have also tried specifying the apr-config file that gets generated in the build dir, with the same result. Help?! :) -Thom -- Thom May - [EMAIL PROTECTED] Pacey: Sisters

Renames Pending

2002-04-13 Thread Thom May
Hi guys, here's an updated list of potential renames pending for the APR API. It would be very good to get these done for 1.0, I think. Cheers, -Thom Index: renames_pending === RCS file: /home/cvspublic/apr/renames_pending,v

[PATCH] Rename apr_explode_localtime to apr_time_exp_lt

2002-04-01 Thread Thom May
As the subject, patches also going to svn and apache dev lists. Cheers, -- Thom May - [EMAIL PROTECTED] This is akin to asking a woman on a date, after you've been pissing on her feet all night. George Broussard, 3D Realms - on PlanetCrap Index: renames_pending

Re: svn commit: rev 1551 - trunk/packages/freebsd/apr-devel/files

2002-03-19 Thread Thom May
* Justin Erenkrantz ([EMAIL PROTECTED]) wrote : On Tue, Mar 19, 2002 at 11:55:25AM -0800, Greg Stein wrote: On Tue, Mar 19, 2002 at 12:40:10PM -0500, Garrett Rooney wrote: ... The issue is with the way autoconf 2.53 does it's variable substitution. it's apparently different than 2.52

Renames Pending - apr_implode_time

2002-03-17 Thread Thom May
Hi, here are the patches for apr and apr-utils to rename apr_implode_time to apr_time_exp_get. Cheers, -Thom Index: renames_pending === RCS file: /home/cvspublic/apr/renames_pending,v retrieving revision 1.4 diff -u -u -3 -r1.4

Symbol name consistency

2002-03-17 Thread Thom May
So, while I've been doing the renames in renames_pending, I've been going through most of the includes/ directory and noticing quite a few (i think) inconsistencies. This is as good a list as I've got so far: Cheers, -Thom, donning asbestos suit. Index: srclib/apr/renames_pending

Re: Symbol name consistency

2002-03-17 Thread Thom May
* Sander Striker ([EMAIL PROTECTED]) wrote : From: Thom May [mailto:[EMAIL PROTECTED] Sent: 17 March 2002 23:09 [...] +apr_file_statfrom apr_stat +apr_file_lstat from apr_lstat No need for 'file', the stat and lstat functions show their file

Renames pending - apr_explode_gmt

2002-03-17 Thread Thom May
Hi guys, attached are the patches for apr and apr-util to rename apr_explode_gmt to apr_time_exp_gmt. Similar patches for httpd will be following shortly. Cheers, -Thom Index: include/apr_time.h === RCS file:

Re: Config path brokenness

2002-03-07 Thread Thom May
* Thom May ([EMAIL PROTECTED]) wrote : * Ryan Bloom ([EMAIL PROTECTED]) wrote : * Brian Havard ([EMAIL PROTECTED]) wrote : it's not finished yet :) use -d /path -f /path/to/conf/file That's not good enough Thom. The -d must be able to work on its own. That's why we allow

Re: Config path brokenness

2002-03-07 Thread Thom May
* Aaron Bannert ([EMAIL PROTECTED]) wrote : On Thu, Mar 07, 2002 at 03:38:59PM +, Thom May wrote: I was thinking something more generic: dnl APR_UNPREPEND_VAR(var, $to_strip) dnl AC_DEFUN(APR_UNPREPEND_VAR(,[ orig=$$1 to_strip=$2 rel=`echo $orig|sed -e s#^${to_strip}##` $1=$rel

[Patch] Renames pending.

2002-03-06 Thread Thom May
Hi, I've been working through the renames_pending file in apr, and these are the patches for apr and apr-utils to renames apr_ansi_time_to_apr_time and apr_exploded_time_t. I have attached them rather than inlining. I have a similar patch for httpd-2.0 which I have sent to [EMAIL PROTECTED]