apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: cvs commit: apr/test testatomic.c
Date Tue, 02 Jul 2002 18:26:01 GMT
On 2 Jul 2002 wrowe@apache.org wrote:

> wrowe       2002/07/02 11:18:52
>
>   Modified:    test     testatomic.c
>   Log:
>     We shouldn't presume any specific int sizes here, no?
>
>   +    apr_atomic_t oldval;
>   +    apr_atomic_t casval = 0;


This will fix some things and break others.  apr_atomic_t is not
necessarily a scalar -- on some platforms it's a struct.  In other parts
of testatomic there are printf()'s on oldval and casval I believe (bad!
bad!).

--Cliff


Mime
View raw message