cvs: /php4/ext/interbase interbase.c

From: Date: Thu, 04 May 2000 13:43:06 +0000
Subject: cvs: /php4/ext/interbase interbase.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-14469@lists.php.net to get a copy of this message
jah Thu May 4 06:43:06 2000 EDT Modified files: /php4/ext/interbase interbase.c Log: Fix (?) #4314. Index: php4/ext/interbase/interbase.c diff -u php4/ext/interbase/interbase.c:1.25 php4/ext/interbase/interbase.c:1.26 --- php4/ext/interbase/interbase.c:1.25 Thu May 4 05:28:00 2000 +++ php4/ext/interbase/interbase.c Thu May 4 06:43:06 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: interbase.c,v 1.25 2000/05/04 12:28:00 jah Exp $ */ +/* $Id: interbase.c,v 1.26 2000/05/04 13:43:06 jah Exp $ */ /* TODO: Arrays, roles? @@ -508,7 +508,7 @@ php_info_print_table_start(); php_info_print_table_row(2, "Interbase Support", "enabled"); - php_info_print_table_row(2, "Revision", "$Revision: 1.25 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.26 $"); #if defined(COMPILE_DL) || defined(COMPILE_DL_INTERBASE) php_info_print_table_row(2, "Dynamic Module", "yes"); #endif @@ -1600,6 +1600,11 @@ long timestamp = -1; isc_decode_date((ISC_QUAD *) data, &t); + /* + XXX - Might have to remove this later - seems that isc_decode_date() + always sets tm_isdst to 0, sometimes incorrectly (InterBase 6 bug?) + */ + t.tm_isdst = -1; timestamp = mktime(&t); #if HAVE_TM_ZONE t.tm_zone = tzname[0];

« previous php.version4 (#14469) next »