php4-beta | 200004
Date: 04/19/00
- Next message: Dave 'Duke of URL' Weiner: "[PHP4BETA] Bug in configure script"
- Previous message: Colin Viebrock: "[PHP4BETA] cvs: /php4 main.c"
- Next in thread: Thies C. Arntzen: "[PHP4BETA] cvs: /php4/ext/standard info.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
zeev Wed Apr 19 16:46:57 2000 EDT
Modified files:
/php4/ext/standard info.c
Log:
Fix Win32 compilation. Hillarious April 1st joke!
Index: php4/ext/standard/info.c
diff -u php4/ext/standard/info.c:1.85 php4/ext/standard/info.c:1.86
--- php4/ext/standard/info.c:1.85 Wed Apr 19 16:17:02 2000
+++ php4/ext/standard/info.c Wed Apr 19 16:46:26 2000
@@ -123,13 +123,8 @@
char **env,*tmp1,*tmp2;
char *php_uname;
int expose_php = INI_INT("expose_php");
-
time_t the_time;
struct tm *ta, tmbuf;
-
- the_time = time(NULL);
- ta = localtime_r(&the_time, &tmbuf);
-
#ifdef PHP_WIN32
char php_windows_uname[256];
DWORD dwBuild=0;
@@ -140,6 +135,8 @@
ELS_FETCH();
SLS_FETCH();
+ the_time = time(NULL);
+ ta = localtime_r(&the_time, &tmbuf);
if (flag & PHP_INFO_GENERAL) {
#ifdef PHP_WIN32
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Dave 'Duke of URL' Weiner: "[PHP4BETA] Bug in configure script"
- Previous message: Colin Viebrock: "[PHP4BETA] cvs: /php4 main.c"
- Next in thread: Thies C. Arntzen: "[PHP4BETA] cvs: /php4/ext/standard info.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

