From 7f12712234a97d7eb55a6cd91970e51703b10148 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Sat, 11 Aug 2001 03:13:59 +0000 Subject: [PATCH] fixed getopt so that -b works again --- ChangeLog | 4 ++++ tools/tiff2rgba.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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;