From be5908b06ceb91fc71621e99d84c14ca2877af2b Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 4 Mar 2002 09:29:06 +0000 Subject: [PATCH] -addition to last change: php_image.h must be included now --- ext/exif/exif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 745a458d53..2f8893fc70 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -57,13 +57,13 @@ #if HAVE_EXIF -#undef EXIF_DEBUG +#define EXIF_DEBUG #include "php_exif.h" #include #include "php_ini.h" #include "ext/standard/php_string.h" -/* include "ext/standard/php_image.h" */ +#include "ext/standard/php_image.h" #include "ext/standard/info.h" typedef unsigned char uchar; @@ -967,7 +967,7 @@ static void exif_process_IFD_TAG(image_info_type *ImageInfo, char *DirEntry, cha /* Extract useful components of IFD */ #ifdef EXIF_DEBUG - php_error(E_NOTICE,"process tag(x%04x=%s,%i): %s", Tag, exif_get_headername(Tag), ByteCount, Format==FMT_STRING?(ValuePtr?ValuePtr:""):""); + php_error(E_NOTICE,"process tag(x%04x=%s,@x%04X+%i): %s", Tag, exif_get_headername(Tag), ValuePtr-OffsetBase, ByteCount, Format==FMT_STRING?(ValuePtr?ValuePtr:""):""); #endif switch(Tag) { case TAG_MAKE: -- 2.40.0