httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: libapreq2-2.04-dev release candidate #2
Date Sun, 29 Aug 2004 14:42:43 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> [...]
> 
> 
>>But the 2 failing tests are the same:
>>t/apreq/cgi.t                  41    7  17.07%  32 36-41
>>
>>t/apreq/upload.t    0    13    20   40 200.00%  1-20
>>
>>See my previous post for details.
> 
> 
> No idea, but the first failures are happening during
> $upload->tempname.  Some interaction with your tempfile 
> directory is failing, not sure which one.  You might
> add a few more debugging messages in Apache__Upload.h's
> apreq_xs_upload_tempname XSUB to see which call
> is generating the APR_EGENERAL (20014) error: my guess
> is that apreq_file_mktemp is the likely suspect.

Right on, Joe

        const char *tmpdir = apreq_env_temp_dir(env, NULL);

returns NULL.

1) apreq needs better diagnostics (probably check that it's not null)
2) why does this happen? I've even tried with env var: TMPDIR=/tmp to no 
avail. Shouldn't apreq_env_temp_dir assert or something when it fails?

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message