Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread Cliff Woolley
On Wed, 12 Jun 2002, William A. Rowe, Jr. wrote: > time [(apr_time_t]] Enter > APR_USEC_PER_SEC [(apr_time_t)100] Enter Ah. I missed the fact that APR_USEC_PER_SEC has a built-in cast. Nevermind. --Cliff

Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread Cliff Woolley
On Wed, 12 Jun 2002, William A. Rowe, Jr. wrote: > It seems that we've decided sometime back that all macro-fns should be > declared in ucase. Now, we can debate that issue again, but if someone > could pull up a reference to that thread in the archives it would be > most cool. Somewhere in [EMA

Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread William A. Rowe, Jr.
At 12:06 PM 6/12/2002, you wrote: On 12 Jun 2002 [EMAIL PROTECTED] wrote: > +#define APR_TIME_USEC(time) ((apr_int32_t)(time) % APR_USEC_PER_SEC) > + > +#define APR_TIME_SEC(time) ((apr_int64_t)(time) / APR_USEC_PER_SEC) > + > +#define APR_TIME_FROM_SEC(sec) ((apr_time_t)(sec) * APR_USEC_

Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread William A. Rowe, Jr.
At 03:29 PM 6/12/2002, Roy T. Fielding wrote: There is no reason for them to be all-uppercase. I hate it when people use uppercase for functions, including macro functions. All-uppercase is a convention for symbolic constants, not functions. It seems that we've decided sometime back that all macr

Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread Roy T. Fielding
There is no reason for them to be all-uppercase. I hate it when people use uppercase for functions, including macro functions. All-uppercase is a convention for symbolic constants, not functions. Roy

file lock

2002-06-12 Thread Yunming . Li
Title: file lock Hi, I saw your post on the web talking about apache file lock but I couldn't understand (http://archive.covalent.net/apr/dev/2001/10/0025.xml). I'm using apache1.3 and got errors : -- [Wed May  1 18:00:19 2002] [emerg] (46)No record locks ava

Re: APR doubts

2002-06-12 Thread Cliff Woolley
On Wed, 12 Jun 2002, Miguel Camargo wrote: > First of all,thank you Cliff and Ryan for your answers! No problem. :) > ../apr/include/arch/unix/fileio.h: > > at the begining: > > #if APR_HAVE_NEWFEATURE_H > #include > #endif Right. > APR code... > > #if APR_HAS_NEWFEATURE ? /* or also APR_HAV

Re: APR_HAVE_ vs APR_HAS_ (was Re: APR doubts)

2002-06-12 Thread Miguel Camargo
First of all,thank you Cliff and Ryan for your answers! The feature i want to add is a trick inside the APR just to could manage an parallel file system or not depending on some parameters. So i first need to add a header file into ../apr/include/arch/unix/fileio.h and after that check into the

Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread Greg Marr
At 01:06 PM 06/12/2002, Cliff Woolley wrote: On 12 Jun 2002 [EMAIL PROTECTED] wrote: > +#define APR_TIME_USEC(time) ((apr_int32_t)(time) % APR_USEC_PER_SEC) > + > +#define APR_TIME_SEC(time) ((apr_int64_t)(time) / APR_USEC_PER_SEC) > + > +#define APR_TIME_FROM_SEC(sec) ((apr_time_t)(sec

Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread Cliff Woolley
On 12 Jun 2002 [EMAIL PROTECTED] wrote: > +#define APR_TIME_USEC(time) ((apr_int32_t)(time) % APR_USEC_PER_SEC) > + > +#define APR_TIME_SEC(time) ((apr_int64_t)(time) / APR_USEC_PER_SEC) > + > +#define APR_TIME_FROM_SEC(sec) ((apr_time_t)(sec) * APR_USEC_PER_SEC) > + > +#define APR_T

APR_HAVE_ vs APR_HAS_ (was Re: APR doubts)

2002-06-12 Thread Cliff Woolley
On Wed, 12 Jun 2002, Cliff Woolley wrote: > There are a *few* cases where we use HAVE where we should be using HAS, > and those ought to be cleaned up. But we're mostly consistent. :) Responding to this message caused me to take a second and actually go look at how consistently we're using this

Re: APR doubts

2002-06-12 Thread Cliff Woolley
On Wed, 12 Jun 2002, Miguel Camargo wrote: > I am trying to modify the APR library just to add some specific features > in it and use it in Apache. What kinds of things, just out of curiosity? > But i have some doubts about the meaning and the differences among the > macro definitions of: The f

RE: APR doubts

2002-06-12 Thread Ryan Bloom
Unfortunately, this has never been well defined, but I will give the intent. APR_HAS_*--> APR supports this feature APR_USE_*--> APR uses this particular feature as the default APR_HAVE_* --> These are supposed to be just namespace protected versions of the autoconf macros. The pr

APR doubts

2002-06-12 Thread Miguel Camargo
Hello: I am trying to modify the APR library just to add some specific features in it and use it in Apache. But i have some doubts about the meaning and the differences among the macro definitions of: APR_HAVE_... APR_USE_... APR_HAS_... In which cases i have to use one of this, which are their

Re: cvs commit: apr/include apr_time.h

2002-06-12 Thread William A. Rowe, Jr.
I'm trying to pre-simplify any future patch we might choose to apply for time handling. Seems like we should clean house before trying any new games with apr_time_t (including -renaming- apr_time_t and other symbols that have confused porters.) I notice especially that server->timeout seems to be

Re: Bugzilla default owner...

2002-06-12 Thread Pier Fumagalli
"Justin Erenkrantz" <[EMAIL PROTECTED]> wrote: > On Tue, Jun 11, 2002 at 01:18:09PM +0100, Pier Fumagalli wrote: >> Anyone has a clue on why the default owner for APR bugs is [EMAIL PROTECTED] >> and >> not [EMAIL PROTECTED] > > Because there is no [EMAIL PROTECTED] list. =) -- justin Yes the