httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: libapreq2-2.04-dev release candidate #2
Date Sun, 29 Aug 2004 15:16:53 GMT
Stas Bekman <stas@stason.org> writes:

> Joe Schaefer wrote:

[...]

> > 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.

NULL should be an ok value- what it means to apreq_file_mktemp is:
the user never gave me a specific directory, so ask the OS via
apr_temp_dir_get.  Maybe *that* function is failing to find a 
valid directory on your box?

-- 
Joe Schaefer


Mime
View raw message