View | Details | Raw Unified | Return to bug 64899
Collapse All | Expand All

(-)php4/Makefile (-1 / +1 lines)
Lines 21-27 Link Here
21
21
22
PORTNAME=	php4
22
PORTNAME=	php4
23
PORTVERSION=	4.3.5
23
PORTVERSION=	4.3.5
24
PORTREVISION=	7
24
PORTREVISION=	8
25
CATEGORIES?=	lang devel www
25
CATEGORIES?=	lang devel www
26
MASTER_SITES=	http://www.php.net/distributions/:release \
26
MASTER_SITES=	http://www.php.net/distributions/:release \
27
		http://it.php.net/distributions/:release \
27
		http://it.php.net/distributions/:release \
(-)php4/files/patch-ext::standard::datetime.c (+27 lines)
Line 0 Link Here
1
--- ext/standard/datetime.c.orig	Mon Mar 29 18:52:50 2004
2
+++ ext/standard/datetime.c	Mon Mar 29 18:53:46 2004
3
@@ -19,7 +19,7 @@
4
  */
5
 
6
 
7
-/* $Id: datetime.c,v 1.96.2.12 2004/03/12 17:27:55 rasmus Exp $ */
8
+/* $Id: datetime.c,v 1.96.2.13 2004/03/26 19:29:31 rasmus Exp $ */
9
 
10
 
11
 #include "php.h"
12
@@ -194,12 +194,12 @@
13
 		val = (*arguments[0])->value.lval; 
14
 		/* 
15
 		   We don't use 1 here to work around problems in some mktime implementations
16
-		   when it comes to daylight savings time.  Setting it to 2 and working back from
17
+		   when it comes to daylight savings time.  Setting it to 4 and working back from
18
 		   there with the chgsecs offset makes us immune to these problems.  
19
 		   See http://bugs.php.net/27533 for more info.
20
 		*/
21
-		if (val < 2) { 
22
-			chgsecs += (2-val) * 60*60; val = 2; 
23
+		if (val < 4) { 
24
+			chgsecs += (4-val) * 60*60; val = 4; 
25
 		} 
26
 		ta->tm_hour = val; 
27
 		/* fall-through */

Return to bug 64899