]> granicus.if.org Git - php/commitdiff
-addition to last change: php_image.h must be included now
authorMarcus Boerger <helly@php.net>
Mon, 4 Mar 2002 09:29:06 +0000 (09:29 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 4 Mar 2002 09:29:06 +0000 (09:29 +0000)
ext/exif/exif.c

index 745a458d530db9aedbed844c43dce40aa9bfa244..2f8893fc701e4d21ce55a04ba13b4c3a0e94619d 100644 (file)
 
 #if HAVE_EXIF
 
-#undef EXIF_DEBUG
+#define EXIF_DEBUG
 
 #include "php_exif.h"
 #include <math.h>
 #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:"<no data>"):"<no string>");
+       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:"<no data>"):"<no string>");
        #endif
        switch(Tag) {
                case TAG_MAKE: