> I tried to patch php like:
>
> cat patch | patch -p1
> then I filed in the patch manually, but it will not work.
>
> Error:
>
*shrug*... didn't give me issues, but why not just edit the files directly,
the patch is tiny enough
1) Open up ext/standard/mail.c in your favorite editor
2) Look f
On Mon, 2004-11-15 at 18:37, Derick Rethans wrote:
> On Mon, 15 Nov 2004, Vladimir Zidar wrote:
>
> > But then whole function php_mktime() is wrong, as in case where gm=1,
> > you expect that parameters you pass are GMT, and still you fill defaults
> > with localtime. Also, later, if gm=1, timezo
On Mon, 15 Nov 2004, Vladimir Zidar wrote:
> But then whole function php_mktime() is wrong, as in case where gm=1,
> you expect that parameters you pass are GMT, and still you fill defaults
> with localtime. Also, later, if gm=1, timezone adjustment is in use, but
> with parameters that are in GM
But then whole function php_mktime() is wrong, as in case where gm=1,
you expect that parameters you pass are GMT, and still you fill defaults
with localtime. Also, later, if gm=1, timezone adjustment is in use, but
with parameters that are in GMT.
So the real good fix would be to remove timezon
On Mon, 15 Nov 2004, Vladimir Zidar wrote:
> So the fix is easy:
>
> --- ext/standard/datetime.c.origFri Nov 12 22:35:04 2004
> +++ ext/standard/datetime.c Fri Nov 12 22:35:33 2004
> @@ -256,7 +256,7 @@
> gmadjust = -(is_dst ? timezone - 3600 : timezone);
> #endif
> #end
On Mon, 15 Nov 2004 16:04:46 +0100
Vladimir Zidar <[EMAIL PROTECTED]> wrote:
> If anybody cares,
>
> gmmktime returning completly bogus results. It can be easly checked
> out by manually setting TZ shell variable.
>
> Lets try it like this:
>
> TZ=GMT+1 php -r "echo gmmktime();"
>
> gives 1100
Yes, please do so.
I just found the fix by carefully reading man pages for localtime and
tzset.
On Mon, 2004-11-15 at 16:12, Derick Rethans wrote:
> On Mon, 15 Nov 2004, Vladimir Zidar wrote:
>
> > If anybody cares,
> >
> > gmmktime returning completly bogus results. It can be easly checked o
On Mon, 15 Nov 2004, Vladimir Zidar wrote:
> If anybody cares,
>
> gmmktime returning completly bogus results. It can be easly checked out
> by manually setting TZ shell variable.
I can reproduce it, and I'll investigate whether this is not going to
break other things.
Derick
--
Derick Rethans
If anybody cares,
gmmktime returning completly bogus results. It can be easly checked out
by manually setting TZ shell variable.
Lets try it like this:
TZ=GMT+1 php -r "echo gmmktime();"
gives 1100292805
TZ=GMT+2 php -r "echo gmmktime();"
gives 1100289207
TZ=GMT+3 php -r "echo gmmktime();"
PHP 5 Bug Database summary - http://bugs.php.net
Num Status Summary (437 total including feature requests)
===[*Compile Issues]==
28103 Open During ./configure you get png error instead of iodbc
28700 Open yaz recode conflic
[asked php-install before, no one answered]
Hi,
Because I upgraded my MySQL server to 4.1.7, I tried to compile my mod_php
with mysql + mysqli support. After some problems with double "-lmysqlclient"
in Makefile (found solution in bugs.php.net), the new mod_php compiled. But
after testing it with
On Sun, 14 Nov 2004, [ISO-8859-1] André Luis Ferreira da Silva Bacci wrote:
> Hi,
>
> I was helping a friend to setup a cvsd, and in the tests I imported a
> module in cvs.php.net... My bad :(
That's why you never should use the environment variable, but just use
the -d parameter!
Derick
--
De
12 matches
Mail list logo