$NetBSD: patch-ae,v 1.5 2003/09/01 10:17:38 cjep Exp $ --- main/php_open_temporary_file.c.orig 2003-08-30 21:45:02.000000000 +0200 +++ main/php_open_temporary_file.c 2003-08-30 21:45:13.000000000 +0200 @@ -132,7 +132,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)) {