cf266799b2
The Image::Exif Perl extension allows the user to use the libexif library to extract EXIF information from JPEG files created by digital cameras. ok naddy@
13 lines
442 B
Plaintext
13 lines
442 B
Plaintext
$OpenBSD: patch-nikon_c,v 1.1.1.1 2004/05/17 05:09:53 robert Exp $
|
|
--- nikon.c.orig 2004-05-03 11:57:47.000000000 -0700
|
|
+++ nikon.c 2004-05-03 11:57:27.000000000 -0700
|
|
@@ -294,7 +294,7 @@ nikon_ifd(u_int32_t offset, struct tiffm
|
|
* Seems that some Nikon maker notes start with an ID string.
|
|
*/
|
|
|
|
- if (!strcmp((const char *)b, "Nikon")) {
|
|
+ if (!strncmp((const char *)b, "Nikon", 5)) {
|
|
b += 6;
|
|
|
|
switch (exif2byte(b, md->order)) {
|