cvs: /php4/ext/standard parsedate.y
| From: | Sascha Schumann | Date: | Sat, 27 Nov 1999 21:18:31 +0000 |
| Subject: | cvs: /php4/ext/standard parsedate.y | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6974@lists.php.net to get a copy of this message | ||
sas Sat Nov 27 16:18:31 1999 EDT
Modified files:
/php4/ext/standard parsedate.y
Log:
one tmbuf is enough
Index: php4/ext/standard/parsedate.y
diff -u php4/ext/standard/parsedate.y:1.4 php4/ext/standard/parsedate.y:1.5
--- php4/ext/standard/parsedate.y:1.4 Sat Nov 27 15:51:17 1999
+++ php4/ext/standard/parsedate.y Sat Nov 27 16:18:01 1999
@@ -1,5 +1,5 @@
%{
-/* $Revision: 1.4 $
+/* $Revision: 1.5 $
**
** Originally written by Steven M. Bellovin <smb@research.att.com> while
** at the University of North Carolina at Chapel Hill. Later tweaked by
@@ -539,7 +539,7 @@
struct timeval tv;
#endif /* defined(HAVE_GETTIMEOFDAY) */
#if !defined(HAVE_TM_GMTOFF)
- struct tm local, tmbuf;
+ struct tm local;
struct tm gmt;
#endif /* !defined(HAVE_TM_GMTOFF) */