#34158 [Opn->Bgs]: Wrong t.tm_isdst flag value.

From: Date: Fri, 20 Apr 2007 07:09:47 +0000
Subject: #34158 [Opn->Bgs]: Wrong t.tm_isdst flag value.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111717@lists.php.net to get a copy of this message
ID: 34158 Updated by: tony2001@php.net Reported By: aesthete at telecenter dot ru -Status: Open +Status: Bogus Bug Type: InterBase related Operating System: Linux 2.6.12 (Fedora Core 3) PHP Version: 4.4.0/5.x.x New Comment: Not PHP problem -> bogus. Previous Comments: ------------------------------------------------------------------------ [2007-04-19 21:15:45] aesthete at telecenter dot ru Yes your right. I test this bug on Fedora core 3 where glibc-2.3.5. On Fedora core 6 glibc-2.5 and this bug does not appear. Perhaps there was a glibc bug or bug in putches to glibc which fc team make. I tested latest dev php version ... Thanks. ------------------------------------------------------------------------ [2007-04-17 10:39:28] abies@php.net Can you explain (again) why setting isdst to -1 is erroneous? In my opinion, the mktime(3) man page says that isdst==-1 signifies that dst info is unavailable, which is exactly the case as libgds always returns zero, dst or no dst. So did anything change in libc in the meantime? Anything the tests have missed before? Just commenting out a line because it fixes a specific case is not the way to go, in my opinion. Especially not in the case of UNIX/timestamp/mktime/etc related issues :-) ------------------------------------------------------------------------ [2007-04-12 16:03:05] aesthete at telecenter dot ru Ok ... my first patch will be: // t.tm_isdst = -1; in ext/ibase_query.c in line 1376 ... how can i apply this patch ? ------------------------------------------------------------------------ [2007-04-12 14:50:52] tony2001@php.net Fix this bug for example? ------------------------------------------------------------------------ [2007-04-12 14:14:10] aesthete at telecenter dot ru Ok .. what i must do to become maintainer of ext/interbase ? ... ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34158 -- Edit this bug report at http://bugs.php.net/?id=34158&edit=1

« previous php.bugs (#111717) next »