no need to add XXXes to mkstemp() call, g/c this patch in an efford
to minimize number of PHP patches in pkgsrc
This commit is contained in:
parent
6f27874b98
commit
dff21e3211
1 changed files with 0 additions and 12 deletions
|
@ -1,12 +0,0 @@
|
|||
$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)) {
|
Loading…
Reference in a new issue