cvs: php-src /ext/exif exif.c
| From: | Anantha Kesari H Y | Date: | Fri, 05 Aug 2005 14:03:58 +0000 |
| Subject: | cvs: php-src /ext/exif exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-33178@lists.php.net to get a copy of this message | ||
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);*/
}