Re: [2.0] does not compile without threads

2001-11-19 Thread Ryan Bloom
On Monday 19 November 2001 12:47 pm, Aaron Bannert wrote: > On Mon, Nov 19, 2001 at 12:09:56PM -0800, Ryan Bloom wrote: > > On Monday 19 November 2001 09:19 am, Aaron Bannert wrote: > > > What is the right way to handle this? I don't think we should we be > > > conditionally compiling declarations,

Re: [2.0] does not compile without threads

2001-11-19 Thread Aaron Bannert
On Mon, Nov 19, 2001 at 12:09:56PM -0800, Ryan Bloom wrote: > On Monday 19 November 2001 09:19 am, Aaron Bannert wrote: > > What is the right way to handle this? I don't think we should we be > > conditionally compiling declarations, only implementations. We can > > either go for runtime errors (AP

Re: [2.0] does not compile without threads

2001-11-19 Thread Ryan Bloom
On Monday 19 November 2001 09:19 am, Aaron Bannert wrote: > [forwarding to apr] > > Back in revision 1.2 of apr/include/apr_thread_mutex.h we added #if > APR_HAS_THREADS blocks around all declarations in the header. This is > what's cauing Martin's build failure. I'm not seeing this same pattern >

Re: Getting Disk information

2001-11-19 Thread Ryan Bloom
On Monday 19 November 2001 12:51 am, Rohan Nandode wrote: > Hi All, > > Is there any API(s) provided by APR library > which gives infomation/statistics about a > Disk? > I want "Free disk space" and "Total disk > space" of the hard disk. > > Please, let me know how I can do this! Those APIs

Re: obsolete stuff in apr

2001-11-19 Thread Pavel Novy
Cliff Woolley wrote: On Mon, 19 Nov 2001, Pavel Novy wrote: > Hi, > remove, please, the following obsolete stuff from the apr: > > apr/locks/NetWare/ > apr/threadproc/NetWare/ > > It is causing confusion and problems when extracting apr tarballs on > Win32 platform also ("netware" and "NetWare" is

Re: [2.0] does not compile without threads

2001-11-19 Thread Aaron Bannert
[forwarding to apr] Back in revision 1.2 of apr/include/apr_thread_mutex.h we added #if APR_HAS_THREADS blocks around all declarations in the header. This is what's cauing Martin's build failure. I'm not seeing this same pattern in the original apr_lock.h files. What is the right way to handle th

Re: obsolete stuff in apr

2001-11-19 Thread Cliff Woolley
On Mon, 19 Nov 2001, Pavel Novy wrote: > > Hi, > > remove, please, the following obsolete stuff from the apr: > > > > apr/locks/NetWare/ > > apr/threadproc/NetWare/ > > > > It is causing confusion and problems when extracting apr tarballs on > > Win32 platform also ("netware" and "NetWare"

Re: Fw: [PATCH] Apache 2.0 and NetWare - compatibility issue (second try)

2001-11-19 Thread Pavel Novy
William A. Rowe, Jr. wrote: Forwarding to the correct list. Sorry, I missed that Apache 2.0 is devided into HTTPD and APR (and APR-UTIL)... Anyway, it is also HTTPD related patch/issue due to potential consequences in httpd-2.0 (size of request_rec struct shared between the core and external mo

tweaks to gethostname() for consistent error handling

2001-11-19 Thread Jeff Trawick
Some systems will fail hostname() if buf too small, others won't, but will truncate the name and not leave it '\0'-terminated. Apps end up adding their own logic to '\0'-terminate it, but rarely add logic to determine whether or not it was truncated. The app may or may not work differently on sys

Fw: [PATCH] Apache 2.0 and NetWare - compatibility issue (second try)

2001-11-19 Thread William A. Rowe, Jr.
Forwarding to the correct list. No objection here; but if patch is complete (?) then wtf are the extra two bits still doing here (no your patch Novy, but hanging on with the port to apr.) And if they will still exist, should we be setting those flags absolute, or |='ing that bit? (We don't appea

Re: Getting Disk information

2001-11-19 Thread Greg Stein
On Mon, Nov 19, 2001 at 12:51:02AM -0800, Rohan Nandode wrote: > Hi All, > > Is there any API(s) provided by APR library > which gives infomation/statistics about a > Disk? > I want "Free disk space" and "Total disk > space" of the hard disk. APR does not provide these APIs, sorry. Patches

Getting Disk information

2001-11-19 Thread Rohan Nandode
Hi All, Is there any API(s) provided by APR library which gives infomation/statistics about a Disk? I want "Free disk space" and "Total disk space" of the hard disk. Please, let me know how I can do this! Thanks a lot! Rohan. __ Do You Ya

Re: [PATCH 2] speedup for apr_table_t

2001-11-19 Thread Brian Pane
dean gaudet wrote: On Sat, 17 Nov 2001, Brian Pane wrote: * A rewrite of apr_table_overlap() that uses a hash table (sort of) instead of qsort i'm not sure this part of the patch is a good idea. the reason apr_table_overlap() uses qsort is to prevent various O(n^2) DoS attacks (both time &

Re: [PATCH 2] speedup for apr_table_t

2001-11-19 Thread dean gaudet
On Sat, 17 Nov 2001, Brian Pane wrote: * A rewrite of apr_table_overlap() that uses a hash table (sort of) instead of qsort i'm not sure this part of the patch is a good idea. the reason apr_table_overlap() uses qsort is to prevent various O(n^2) DoS attacks (both time & space). with your h