diff --git a/ChangeLog b/ChangeLog index 23912a3c..484d0fb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-08-10 Frank Warmerdam + + * tools/tiff2rgba.c: fixed getopt() call so that -b works again. + 2001-08-09 Frank Warmerdam * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__ diff --git a/tools/tiff2rgba.c b/tools/tiff2rgba.c index d5bbb671..208ffaf5 100644 --- a/tools/tiff2rgba.c +++ b/tools/tiff2rgba.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2rgba.c,v 1.4 2001-06-13 15:24:37 warmerda Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/tools/tiff2rgba.c,v 1.5 2001-08-11 03:13:59 warmerda Exp $ */ /* * Copyright (c) 1991-1997 Sam Leffler @@ -56,7 +56,7 @@ main(int argc, char* argv[]) extern int optind; extern char *optarg; - while ((c = getopt(argc, argv, "c:r:t:b:n")) != -1) + while ((c = getopt(argc, argv, "c:r:t:bn")) != -1) switch (c) { case 'b': process_by_block = 1;