* Andr? Malo ([EMAIL PROTECTED]) wrote :
>
> The test file is missing a placeholder pattern. That made the use of
> htpasswd impossible. The following is just a backport from 1.0:
>
yeah. +1.
(mutters about glibc being stricter than bsd's libc on this one).
-Thom
> Index: tempdir.c
> ===================================================================
> RCS file: /home/cvspublic/apr/file_io/unix/tempdir.c,v
> retrieving revision 1.2.2.1
> diff -u -r1.2.2.1 tempdir.c
> --- tempdir.c 13 Feb 2004 09:33:43 -0000 1.2.2.1
> +++ tempdir.c 24 Apr 2004 11:39:57 -0000
> @@ -30,7 +30,7 @@
> static int test_tempdir(const char *temp_dir, apr_pool_t *p)
> {
> apr_file_t *dummy_file;
> - const char *path = apr_pstrcat(p, temp_dir, "/apr-tmp", NULL);
> + const char *path = apr_pstrcat(p, temp_dir, "/apr-tmp.XXXXXX", NULL);
>
> if (apr_file_mktemp(&dummy_file, (char *)path, 0, p) == APR_SUCCESS) {
> if (apr_file_putc('!', dummy_file) == APR_SUCCESS) {
>
> nd