[PHP-CVS] cvs: php-src /ext/calendar cal_unix.c /ext/date php_date.c /ext/mime_magic mime_magic.c /main main.c

2007-06-07 Thread Antony Dovgal
tony2001Thu Jun 7 08:46:32 2007 UTC Modified files: /php-src/ext/calendar cal_unix.c /php-src/ext/date php_date.c /php-src/ext/mime_magic mime_magic.c /php-src/main main.c Log: check return value of *time_r() functions for

[PHP-CVS] cvs: php-src /ext/calendar cal_unix.c

2006-10-07 Thread Hannes Magnusson
bjori Sat Oct 7 15:14:57 2006 UTC Modified files: /php-src/ext/calendar cal_unix.c Log: Avoid portability problems http://cvs.php.net/viewvc.cgi/php-src/ext/calendar/cal_unix.c?r1=1.20r2=1.21diff_format=u Index: php-src/ext/calendar/cal_unix.c diff

[PHP-CVS] cvs: php-src /ext/calendar cal_unix.c

2006-10-04 Thread Hannes Magnusson
bjori Wed Oct 4 12:50:02 2006 UTC Modified files: /php-src/ext/calendar cal_unix.c Log: Update to the new parameter parsing API http://cvs.php.net/viewvc.cgi/php-src/ext/calendar/cal_unix.c?r1=1.19r2=1.20diff_format=u Index:

Re: [PHP-CVS] cvs: php-src /ext/calendar cal_unix.c

2006-10-04 Thread Andrei Zmievski
Hannes, It's better to pass a real long to the zend_parse_parameters and then cast it to (time_t) to avoid portability issues. -Andrei On Oct 4, 2006, at 5:50 AM, Hannes Magnusson wrote: - zval *timestamp; + time_t timestamp = time(NULL); long jdate; - time_t t; struct tm *ta,