cvs: php4 /ext/standard datetime.c
| From: | Daniel Beulshausen | Date: | Fri, 05 Jan 2001 17:34:48 +0000 |
| Subject: | cvs: php4 /ext/standard datetime.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3384@lists.php.net to get a copy of this message | ||
dbeu Fri Jan 5 09:34:48 2001 EDT
Modified files:
/php4/ext/standard datetime.c
Log:
fixed date not allocating enough buffer, bug 7963
Index: php4/ext/standard/datetime.c
diff -u php4/ext/standard/datetime.c:1.59 php4/ext/standard/datetime.c:1.60
--- php4/ext/standard/datetime.c:1.59 Tue Jan 2 12:26:51 2001
+++ php4/ext/standard/datetime.c Fri Jan 5 09:34:47 2001
@@ -19,7 +19,7 @@
*/
-/* $Id: datetime.c,v 1.59 2001/01/02 20:26:51 rasmus Exp $ */
+/* $Id: datetime.c,v 1.60 2001/01/05 17:34:47 dbeu Exp $ */
#include "php.h"
@@ -256,7 +256,7 @@
case 'F': /* month, textual, full */
case 'l': /* day (of the week), textual */
case 'T': /* timezone name */
- size += 9;
+ size += 28;
break;
case 'Z': /* timezone offset in seconds */
size += 6;