cvs: php4(PHP_4_3) /ext/standard datetime.c

From: Date: Thu, 19 Dec 2002 17:07:31 +0000
Subject: cvs: php4(PHP_4_3) /ext/standard datetime.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17280@lists.php.net to get a copy of this message
iliaa Thu Dec 19 12:07:31 2002 EDT Modified files: (Branch: PHP_4_3) /php4/ext/standard datetime.c Log: MFH Index: php4/ext/standard/datetime.c diff -u php4/ext/standard/datetime.c:1.96.2.1 php4/ext/standard/datetime.c:1.96.2.2 --- php4/ext/standard/datetime.c:1.96.2.1 Thu Dec 5 17:46:40 2002 +++ php4/ext/standard/datetime.c Thu Dec 19 12:07:24 2002 @@ -19,7 +19,7 @@ */ -/* $Id: datetime.c,v 1.96.2.1 2002/12/05 22:46:40 iliaa Exp $ */ +/* $Id: datetime.c,v 1.96.2.2 2002/12/19 17:07:24 iliaa Exp $ */ #include "php.h" @@ -196,7 +196,7 @@ t = mktime(ta); #ifdef PHP_WIN32 - if (t < 0) { + if (t - chgsecs < 0) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Windows does not support negative values for this function"); RETURN_LONG(-1); }

« previous php.cvs (#17280) next »