$NetBSD: patch-ae,v 1.3 2001/10/16 04:54:24 jlam Exp $ --- main/php_open_temporary_file.c.orig Mon Apr 30 08:43:40 2001 +++ main/php_open_temporary_file.c @@ -110,7 +110,7 @@ trailing_slash = "/"; } - (void)snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXX", path, trailing_slash, pfx); + (void)snprintf(opened_path, MAXPATHLEN, "%s%s%sXXXXXXXXXX", path, trailing_slash, pfx); #ifdef PHP_WIN32 if (GetTempFileName(path, pfx, 0, opened_path)) {