Bug #14138 Updated: date arithmetic scrambled

From: Date: Fri, 23 Nov 2001 11:13:32 +0000
Subject: Bug #14138 Updated: date arithmetic scrambled
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-71464@lists.php.net to get a copy of this message
ID: 14138 User updated by: mail-php.net@kimihia.org.nz Reported By: mail-php.net@kimihia.org.nz Status: Closed Bug Type: Date/time related Operating System: Debian GNU/Linux stable PHP Version: 4.0.6 New Comment: I'm curious, what do you think the problem was? libc6-dev and libc6 mismatch? I haven't kept a track of upgrades, although I believe libc6 hasn't been changed since long before Apache was compiled. It also caused segfaults and other random wierdness in Apache. The listed libc6 package (in previous report) isn't a current one on any Debian flavour. potato: 2.1.3-19 woody: 2.2.4-5 If that sheds any light on the subject. Previous Comments: ------------------------------------------------------------------------ [2001-11-23 06:05:36] mfischer@php.net Nice, closing this one. ------------------------------------------------------------------------ [2001-11-23 05:56:18] mail-php.net@kimihia.org.nz Recompiled 4.1.0RC3 using Apache 1.3.22. Yes, mathematics now works correctly. Haven't tested fully yet, but the first glance looks like it works. ------------------------------------------------------------------------ [2001-11-20 23:03:13] mail-php.net@kimihia.org.nz Linux 2.4.12 SMP Debian potato libraries Package: libc5 Version: 5.4.46-3 Package: libc6 Version: 2.2.3-9 Package: libc6-dev Version: 2.2.3-9 bc 1.05 Copyright 1991, 1992, 1993, 1994, 1997, 1998 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 20 + -7 13 ------------------------------------------------------------------------ [2001-11-20 22:39:50] jmcastagnetto@php.net More info from _RainMkr_: "Running on woody, Linux 2.4.5, PHP 4.0.6" What version is the Debian showing this problem? ------------------------------------------------------------------------ [2001-11-20 22:35:38] jmcastagnetto@php.net Perhaps a problem with the Debian libraries, cannot confirm problem on PHP 4.0.6 under Solaris 2.8. Output of the code is correct in that machine and PHP version. Code also tested by _RainMkr_ (from #php) using PHP 4.0.6 under Linux 2.4.5 Need feedback on whether other numeric programs have similar problems under that version of Debian. ------------------------------------------------------------------------ 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/?id=14138 Edit this bug report at http://bugs.php.net/?id=14138&edit=1

« previous php.dev (#71464) next »