pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php4/patches no need to add XXXes to mkstemp() cal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fff4e3abc039
branches:  trunk
changeset: 468454:fff4e3abc039
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Feb 14 00:46:26 2004 +0000

description:
no need to add XXXes to mkstemp() call, g/c this patch in an efford
to minimize number of PHP patches in pkgsrc

diffstat:

 www/php4/patches/patch-ae |  12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diffs (16 lines):

diff -r 9e36b6b683dd -r fff4e3abc039 www/php4/patches/patch-ae
--- a/www/php4/patches/patch-ae Sat Feb 14 00:40:55 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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)) {



Home | Main Index | Thread Index | Old Index