Hello Roland,
On Wednesday 10 September 2008 Philipp Marek wrote:
> I'll take a look.
Does this patch help?
Regards,
Phil
Index: waa.c
===================================================================
--- waa.c (Revision 1873)
+++ waa.c (Arbeitskopie)
@@ -2873,9 +2873,11 @@ int waa__get_tmp_name(const char *base_d
}
strcpy( filename + len, to_append);
- /* The default values include APR_DELONCLOSE, which we don't want. */
+ /* The default values include APR_DELONCLOSE, which we only want if the
+ * caller is not interested in the name. */
STOPIF( apr_file_mktemp(handle, filename,
- APR_CREATE | APR_READ | APR_WRITE | APR_EXCL,
+ APR_CREATE | APR_READ | APR_WRITE | APR_EXCL |
+ (output ? 0 : APR_DELONCLOSE),
pool),
"Cannot create a temporary file for \"%s\"", filename);
--
Versioning your /etc, /home or even your whole installation?
Try fsvs (fsvs.tigris.org)!
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]