From eac1a5bc856edf8f0a8178157e1448068cc02669 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Mon, 26 May 2008 15:17:09 +0000 Subject: [PATCH] Clarify comment on lfind(). --- libtiff/tif_dirinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c index fd2b7d5b..f08512e5 100644 --- a/libtiff/tif_dirinfo.c +++ b/libtiff/tif_dirinfo.c @@ -1,4 +1,4 @@ -/* $Id: tif_dirinfo.c,v 1.102 2008-05-18 16:18:30 fwarmerdam Exp $ */ +/* $Id: tif_dirinfo.c,v 1.103 2008-05-26 15:17:09 fwarmerdam Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -499,7 +499,7 @@ _TIFFFindFieldByName(TIFF* tif, const char *field_name, TIFFDataType dt) if (!tif->tif_fields) return NULL; - /* NB: use sorted search (e.g. binary search) */ + /* NB: use linear search since list is sorted by key#, not name */ key.field_name = (char *)field_name; key.field_type = dt;