cvs: /php4/ext/standard info.c

From: Date: Wed, 19 Apr 2000 23:46:57 +0000
Subject: cvs: /php4/ext/standard info.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-13771@lists.php.net to get a copy of this message
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

« previous php.version4 (#13771) next »