exif on OSX

From: Date: Tue, 06 Aug 2002 03:04:30 +0000
Subject: exif on OSX
Groups: php.dev 
Request: Send a blank email to php-dev+get-86550@lists.php.net to get a copy of this message
Did some testing for OSX compatibility tonight... ran into a problem with exif compiling. I think this patch should fix it, but I'm not sure... the test case fails for me on reading a file (line 74 test.txt). Anyways please look over the patch and tell me if this is correct... and if so lets please apply it so I can see why exif isn't working on OSX (or at least on my local machine). Patch applied inline because it's really only a 1 line change. Index: exif.c =================================================================== RCS file: /repository/php4/ext/exif/exif.c,v retrieving revision 1.107 diff -u -u -r1.107 exif.c --- exif.c 31 Jul 2002 21:34:37 -0000 1.107 +++ exif.c 6 Aug 2002 03:01:56 -0000 @@ -2174,7 +2174,7 @@ /* }}} */ /* forward declarations */ -static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_entry, char *offset_base, size_t IFDlength, size_t displacement, int section_index TSRMLS_DC); +static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_start, char *offset_base, unsigned IFDlength, size_t displacement, int section_index TSRMLS_DC); static int exif_process_IFD_TAG( image_info_type *ImageInfo, char *dir_entry, char *offset_base, size_t IFDlength, size_t displacement, int section_index, int ReadNextIFD, tag_table_type tag_table TSRMLS_DC); /* {{{ exif_get_markername >---------------------------------------------------------------< Dan Kalowsky "A little less conversation, http://www.deadmime.org/~dank a little more action." dank-nos@mpa-deadmime.org - "A Little Less Conversation", kalowsky@php.net Elvis Presley

« previous php.dev (#86550) next »