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
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
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:
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,