You may have known that socket data is implemented as pool userdata in a
manner that prevented multiple sockets from the same pool being able to
use the same key for socket data. Another problem is that any cleanup
specified in the call to apr_socket_data_set() is run when the pool is
cleaned
At 04:58 PM 4/15/2003, Joe Orton wrote:
>Has 0.9.3 actually been released? I see the tag, but can't find tarballs
>for it. Is it just waiting for someone to make tarballs?
Sure, drop 'em in! The more hands the merrier (offers /me who has had
about 5 spare cycles/hour just for recharging batterie
Has 0.9.3 actually been released? I see the tag, but can't find tarballs
for it. Is it just waiting for someone to make tarballs?
Recently APR HEAD has been trying to keep backwards compatibility with
0.9.2, with the proviso that this will be dropped "for 1.0". It would
seem sensible to allow HE
okay guys, what I just committed has
#define APR_UINT64_T_HEX_FMT_LEN (sizeof(APR_UINT64_T_HEX_FMT) - 1)
in apr.h*.
What I think what everybody agrees is cool is to have these
APR_foo_FMT_LEN symbols disappear with APR 1.0.
I think Joe wanted to delete them ASAP and Bill wanted to mark them
dep
At 03:22 PM 4/15/2003, Joe Orton wrote:
>On Tue, Apr 15, 2003 at 04:15:32PM -0400, Jeff Trawick wrote:
>> Joe Orton wrote:
>> >On Tue, Apr 15, 2003 at 01:58:23PM -0400, Jeff Trawick wrote:
>> >...
>> >
>> >>#define APR_UINT64_T_FMT_LEN 3
>> >>+#define APR_UINT64_T_HEX_FMT "llx"
>> >>+#defin
Joe Orton wrote:
On Tue, Apr 15, 2003 at 04:15:32PM -0400, Jeff Trawick wrote:
Joe Orton wrote:
On Tue, Apr 15, 2003 at 01:58:23PM -0400, Jeff Trawick wrote:
...
#define APR_UINT64_T_FMT_LEN 3
+#define APR_UINT64_T_HEX_FMT "llx"
+#define APR_UINT64_T_HEX_FMT_LEN 3
#define APR_TIME_T_FMT AP
On Tue, Apr 15, 2003 at 04:15:32PM -0400, Jeff Trawick wrote:
> Joe Orton wrote:
> >On Tue, Apr 15, 2003 at 01:58:23PM -0400, Jeff Trawick wrote:
> >...
> >
> >>#define APR_UINT64_T_FMT_LEN 3
> >>+#define APR_UINT64_T_HEX_FMT "llx"
> >>+#define APR_UINT64_T_HEX_FMT_LEN 3
> >>#define APR_TIM
Joe Orton wrote:
On Tue, Apr 15, 2003 at 01:58:23PM -0400, Jeff Trawick wrote:
...
#define APR_UINT64_T_FMT_LEN 3
+#define APR_UINT64_T_HEX_FMT "llx"
+#define APR_UINT64_T_HEX_FMT_LEN 3
#define APR_TIME_T_FMT APR_INT64_T_FMT
There's no need to add another _FMT_LEN #define, they are not rea
William A. Rowe, Jr. wrote:
At 01:05 PM 4/15/2003, Jeff Trawick wrote:
Jeff Trawick wrote:
An unfortunately ugly example:
apr_time_t now;
apr_snprintf(..., "microsecs in hex: %" APR_UINT64_T_HEX_FMT,
(apr_uint64_t))
err, that last line should be
(apr_uint64_t)now)
Of co
On Tue, Apr 15, 2003 at 01:58:23PM -0400, Jeff Trawick wrote:
...
> #define APR_UINT64_T_FMT_LEN 3
> +#define APR_UINT64_T_HEX_FMT "llx"
> +#define APR_UINT64_T_HEX_FMT_LEN 3
> #define APR_TIME_T_FMT APR_INT64_T_FMT
There's no need to add another _FMT_LEN #define, they are not really
nec
At 01:05 PM 4/15/2003, Jeff Trawick wrote:
>Jeff Trawick wrote:
>>An unfortunately ugly example:
>> apr_time_t now;
>> apr_snprintf(..., "microsecs in hex: %" APR_UINT64_T_HEX_FMT,
>> (apr_uint64_t))
>
>err, that last line should be
>
> (apr_uint64_t)now)
Of course
why is it
apr_uint32_t apr_atomic_cas(volatile apr_uint32_t *, long, long)
(generic version)
apr_uint32_t apr_atomic_cas(volatile apr_atomic_t *, apr_uint32_t,
apr_uint32_t cmp)
(MVS version)
instead of
apr_uint32_t apr_atomic_cas(volatile apr_uint32_t *, apr_uint32_t,
Jeff Trawick wrote:
An unfortunately ugly example:
apr_time_t now;
apr_snprintf(..., "microsecs in hex: %" APR_UINT64_T_HEX_FMT,
(apr_uint64_t))
err, that last line should be
(apr_uint64_t)now)
Hopefully there isn't a reason why this can't be implemented portably.
Speak up quickly if you know of one :)
Apache needs to format a 64-bit quantity in hex in a few places. Since
hex formatting is typically supported for unsigned values only, the best
compromise seems to be to have a format
"David Reid" <[EMAIL PROTECTED]> writes:
> Ben's point is more (I think) that if we say we're providing randomness then
> we should provide that.
But a caller isn't allowed to *explicitly* ask for poor-quality,
non-blocking randomness? Why not? If the word "randomness" bothers
people, then let
Ben's point is more (I think) that if we say we're providing randomness then
we should provide that. Bear in mind that APR could be used for a lot of
things, and having a potentially very weak random function isn't going to
cut it in a lot of places.
FWIW I've seen the sort of api that Ben alludes
16 matches
Mail list logo