hyanantha Fri Aug 5 10:00:49 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/exif exif.c Log: NetWare specific stat structure issues. --Kamesh http://cvs.php.net/diff.php/php-src/ext/exif/exif.c?r1=1.162.2.8&r2=1.162.2.9&ty=u Index: php-src/ext/exif/exif.c diff -u php-src/ext/exif/exif.c:1.162.2.8 php-src/ext/exif/exif.c:1.162.2.9 --- php-src/ext/exif/exif.c:1.162.2.8 Thu Mar 17 12:20:35 2005 +++ php-src/ext/exif/exif.c Fri Aug 5 10:00:47 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: exif.c,v 1.162.2.8 2005/03/17 17:20:35 iliaa Exp $ */ +/* $Id: exif.c,v 1.162.2.9 2005/08/05 14:00:47 hyanantha Exp $ */ /* ToDos * @@ -115,7 +115,7 @@ }; /* }}} */ -#define EXIF_VERSION "1.4 $Id: exif.c,v 1.162.2.8 2005/03/17 17:20:35 iliaa Exp $" +#define EXIF_VERSION "1.4 $Id: exif.c,v 1.162.2.9 2005/08/05 14:00:47 hyanantha Exp $" /* {{{ PHP_MINFO_FUNCTION */ @@ -3744,7 +3744,11 @@ if (php_stream_is(ImageInfo->infile, PHP_STREAM_IS_STDIO)) { if (VCWD_STAT(FileName, &st) >= 0) { /* Store file date/time. */ +#ifdef NETWARE + ImageInfo->FileDateTime = st.st_mtime.tv_sec; +#else ImageInfo->FileDateTime = st.st_mtime; +#endif ImageInfo->FileSize = st.st_size; /*exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Opened stream is file: %d", ImageInfo->FileSize);*/ }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php