fixed getopt so that -b works again

This commit is contained in:
Frank Warmerdam 2001-08-11 03:13:59 +00:00
parent 66ca643de3
commit 7f12712234
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-08-10 Frank Warmerdam <warmerdam@pobox.com>
* tools/tiff2rgba.c: fixed getopt() call so that -b works again.
2001-08-09 Frank Warmerdam <warmerdam@pobox.com>
* libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__

View File

@ -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;