apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: cvs commit: apr-util/misc apr_rmm.c
Date Fri, 15 Mar 2002 00:01:58 GMT
just noticed another problem, rv never gets set here:

    apr_status_t rv;
    ...
    if ((this = apr_rmm_malloc(rmm, reqsize)) < 0) {
        return rv;
    }

thinking it should be APR_EINVAL, but the return type of apr_rmm_realloc 
is apr_rmm_off_t.  then again, both apr_rmm_{calloc,malloc} have the same 
return type but return an apr_status_t if APR_ANYLOCK_LOCK fails.
what's up with that?


Mime
View raw message