hyanantha Fri Aug 5 10:03:58 2005 EDT
Modified files:
/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.172&r2=1.173&ty=u
Index: php-src/ext/exif/exif.c
diff -u php-src/ext/exif/exif.c:1.172 php-src/ext/exif/exif.c:1.173
--- php-src/ext/exif/exif.c:1.172 Wed Aug 3 10:07:07 2005
+++ php-src/ext/exif/exif.c Fri Aug 5 10:03:57 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: exif.c,v 1.172 2005/08/03 14:07:07 sniper Exp $ */
+/* $Id: exif.c,v 1.173 2005/08/05 14:03:57 hyanantha Exp $ */
/* ToDos
*
@@ -115,7 +115,7 @@
};
/* }}} */
-#define EXIF_VERSION "1.4 $Id: exif.c,v 1.172 2005/08/03 14:07:07 sniper Exp $"
+#define EXIF_VERSION "1.4 $Id: exif.c,v 1.173 2005/08/05 14:03:57 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