Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > change of variable name from tzname to formal_tzname
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 18th April 10:44
kameshj
External User
 
Posts: 1
Default change of variable name from tzname to formal_tzname



Hi Derick,
From Yesterday(06/10/2005) onwards NetWare php-5.1 autotests were
failing because of a segfault from tests/lang/023.phpt which makes one
mktime call.
When delved for the cause it seems that In NetWare LibC SDK's time.h
tzname is expanded to ___tzname() this cause the C preprocessor to
change the tzname to vague ___tzname function call in
php_date_parse_tzfile().
Changing the variable name tzname to formal_tzname or anything more
pleasing in php_date_parse_tzfile should fix it.

http://puggy.symonds.net/~kameshj/php_date.c.patch

Can you check in this?

With regards
Kamesh Jayachandran

--=20
http://www.fastmail.fm - And now for something completely different=85

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
  Reply With Quote


  sponsored links


2 18th April 10:44
derick
External User
 
Posts: 1
Default change of variable name from tzname to formal_tzname



Hello,

Yes, I just committed it.

regards,
Derick

--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666