Skip to content

Commit c95c773

Browse files
committedApr 2, 2024
Various typo fixes
1 parent cc5f331 commit c95c773

14 files changed

+63
-63
lines changed
 

‎ChangeLog

+23-23
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59751
300300

301301
In 738e0409 (refs #575), we disabled DNG / EP tags, but there was a
302-
special proessing for TIFFTAG_EP_BATTERYLEVEL that must be disabled
302+
special processing for TIFFTAG_EP_BATTERYLEVEL that must be disabled
303303
since the tag is no longer defined.
304304

305305
2023-06-09 Su_Laus <sulau@freenet.de>
@@ -395,8 +395,8 @@
395395
tif_dirinfo.c: disable DNG 1.2->1.6 tags.
396396
They were added per b90b20d36d7833f54a1f3014c324f6c21b988006 but it has
397397
been found in https://gitlab.com/libtiff/libtiff/-/issues/575 that it
398-
could cause compatibity issues with libtiff users, so this addition
399-
should be defered for a feature release (likely 4.6.0) and not a patch one.
398+
could cause compatibility issues with libtiff users, so this addition
399+
should be deferred for a feature release (likely 4.6.0) and not a patch one.
400400

401401
Fixes #575
402402

@@ -576,7 +576,7 @@
576576
2023-05-06 Even Rouault <even.rouault@spatialys.com>
577577

578578
Merge branch 'fix_548' into 'master'
579-
LZWDecode(): avoid crash when trying to read again from a strip whith a...
579+
LZWDecode(): avoid crash when trying to read again from a strip with a...
580580

581581
Closes #548
582582

@@ -610,7 +610,7 @@
610610

611611
2023-04-29 Even Rouault <even.rouault@spatialys.com>
612612

613-
LZWDecode(): avoid crash when trying to read again from a strip whith a missing end-of-information marker (fixes #548)
613+
LZWDecode(): avoid crash when trying to read again from a strip with a missing end-of-information marker (fixes #548)
614614

615615
2023-04-25 Su_Laus <sulau@freenet.de>
616616

@@ -1339,7 +1339,7 @@
13391339

13401340
Use structures that can be extended as extra argument.
13411341

1342-
Leverages and ammends https://gitlab.com/libtiff/libtiff/-/merge_requests/409
1342+
Leverages and amends https://gitlab.com/libtiff/libtiff/-/merge_requests/409
13431343

13441344
2022-11-21 Even Rouault <even.rouault@spatialys.com>
13451345

@@ -2077,7 +2077,7 @@
20772077
to
20782078
{ TIFFTAG_INTEROPERABILITYIFD, 1, 1, TIFF_IFD8, 0, TIFF_SETGET_IFD8, TIFF_SETGET_UNDEFINED, FIELD_CUSTOM, 0, 0, "InteroperabilityIFDOffset", NULL },
20792079

2080-
However, if those tags schould not be handled by LibTiff because they are deamed as abandoned or unwanted tags, those tags need to be defined with FIELD_IGNORE instead of FIELD_CUSTOM and keeping set_field_type = TIFF_SETGET_UNDEFINED
2080+
However, if those tags should not be handled by LibTiff because they are deamed as abandoned or unwanted tags, those tags need to be defined with FIELD_IGNORE instead of FIELD_CUSTOM and keeping set_field_type = TIFF_SETGET_UNDEFINED
20812081

20822082
2022-07-01 Su_Laus <sulau@freenet.de>
20832083

@@ -2185,7 +2185,7 @@
21852185
tif_predict.c: make horAcc8() work with icc (ICC) 2021.6.0 20220226 -O2.
21862186
For a reason I don't understand, recent ICC generates wrong code in -O2
21872187
mode for the stride = 3 and 4 cases. The modified code is more
2188-
straightfoward, so go for it.
2188+
straightforward, so go for it.
21892189

21902190
2022-06-19 Roger Leigh <rleigh@codelibre.net>
21912191

@@ -2442,7 +2442,7 @@
24422442
Include stdlib.h in tif_lzw.c.
24432443
In `tif_lzw.c`, a call is made to `_byteswap_uint64`. This is declared in `stdlib.h`. `stdlib.h` is not included in `tib_lzw.c`, so a name error may occur.
24442444

2445-
This change adds `#include stdlib.h` to `tif_lzw.c`, to prevent a name error from occuring when `stdlib.h` is not included.
2445+
This change adds `#include stdlib.h` to `tif_lzw.c`, to prevent a name error from occurring when `stdlib.h` is not included.
24462446

24472447
2022-05-29 Roger Leigh <rleigh@codelibre.net>
24482448

@@ -2662,7 +2662,7 @@
26622662

26632663
2022-04-22 Even Rouault <even.rouault@spatialys.com>
26642664

2665-
tif_lzw.c: fix potential out-of-bounds error when trying to read in the same tile/strip after an error has occured (fixes #410)
2665+
tif_lzw.c: fix potential out-of-bounds error when trying to read in the same tile/strip after an error has occurred (fixes #410)
26662666

26672667
2022-04-06 Su_Laus <sulau@freenet.de>
26682668

@@ -3035,7 +3035,7 @@
30353035
2022-02-11 Even Rouault <even.rouault@spatialys.com>
30363036

30373037
Merge branch 'predictor_2_64bit' into 'master'
3038-
Predictor 2 (horizontal differenciation): support 64-bit
3038+
Predictor 2 (horizontal differentiation): support 64-bit
30393039

30403040
See merge request libtiff/libtiff!296
30413041

@@ -3054,7 +3054,7 @@
30543054

30553055
2022-02-09 Even Rouault <even.rouault@spatialys.com>
30563056

3057-
Predictor 2 (horizontal differenciation): support 64-bit.
3057+
Predictor 2 (horizontal differentiation): support 64-bit.
30583058
There's no reason not to support 64-bit. The TIFF 6 specification
30593059
doesn't say anything about that (and even mention 4-bit, which we don't
30603060
support)
@@ -3237,8 +3237,8 @@
32373237
2021-12-13 Even Rouault <even.rouault@spatialys.com>
32383238

32393239
OJPEG: avoid assertion when using TIFFReadScanline() (fixes #337)
3240-
Note: my analyis of the issue would be that the use of the scanline API
3241-
is currently propably broken with OJPEG.
3240+
Note: my analysis of the issue would be that the use of the scanline API
3241+
is currently probably broken with OJPEG.
32423242

32433243
2021-12-10 Even Rouault <even.rouault@spatialys.com>
32443244

@@ -3492,7 +3492,7 @@
34923492
2021-09-23 Even Rouault <even.rouault@spatialys.com>
34933493

34943494
TIFFAppendToStrip(): fix rewrite-in-place logic.
3495-
reproducable in particular with packbits compression.
3495+
reproducible in particular with packbits compression.
34963496

34973497
Fixes https://github.com/OSGeo/gdal/issues/4538
34983498

@@ -3960,7 +3960,7 @@
39603960
2021-03-07 Antonio Valentino <Antonio.Valentino@esa.int>
39613961

39623962
Add LERC plugin.
3963-
The lerc plugin code has been copyed form GDAL.
3963+
The lerc plugin code has been copied:* form GDAL.
39643964

39653965
2021-03-06 Roger Leigh <rleigh@codelibre.net>
39663966

@@ -4160,7 +4160,7 @@
41604160

41614161
Correct include order.
41624162

4163-
Eliminate implict fallthrough usage.
4163+
Eliminate implicit fallthrough usage.
41644164
Use simple loops in place of manual loop unrolling. Rely on
41654165
the compiler optimiser to unroll loops when appropriate.
41664166

@@ -4422,7 +4422,7 @@
44224422
2021-01-18 Even Rouault <even.rouault@spatialys.com>
44234423

44244424
Merge branch 'tiffcmp' into 'master'
4425-
tiffcmp: fix comparaison with pixels that are fractional number of bytes
4425+
tiffcmp: fix comparison with pixels that are fractional number of bytes
44264426

44274427
Closes #53
44284428

@@ -4438,8 +4438,8 @@
44384438

44394439
2021-01-15 Thomas Bernard <miniupnp@free.fr>
44404440

4441-
tiffcmp: fix comparaison with pixels that are fractional number of bytes
4442-
For exemple : 4bits per sample + 3 samples per pixel => 1.5 bytes per pixel
4441+
tiffcmp: fix comparison with pixels that are fractional number of bytes
4442+
For example : 4bits per sample + 3 samples per pixel => 1.5 bytes per pixel
44434443

44444444
tiff2ps: exit the loop in case of error.
44454445
fixes #232
@@ -4634,7 +4634,7 @@
46344634
2020-12-31 Kurt Schwehr <schwehr@google.com>
46354635

46364636
custom_dir_EXIF_231.c: dos2unix and codespell.
4637-
additonal, Varable, greather, alwasy
4637+
additional, Varable, greather, alwasy
46384638

46394639
2020-12-31 Kurt Schwehr <schwehr@google.com>
46404640

@@ -6208,7 +6208,7 @@
62086208

62096209
2019-10-03 Even Rouault <even.rouault@spatialys.com>
62106210

6211-
tif_read: align code of TIFFReadRawStrip() and TIFFReadRawTile() that differed for non good reason. Non-functional change normally. (fixes GitLab #162)
6211+
tif_read: align code of TIFFReadRawStrip() and TIFFReadRawTile() that deferred for non good reason. Non-functional change normally. (fixes GitLab #162)
62126212

62136213
2019-10-01 Even Rouault <even.rouault@spatialys.com>
62146214

@@ -7740,7 +7740,7 @@
77407740

77417741
2017-11-23 Roger Leigh <rleigh@codelibre.net>
77427742

7743-
appveyor: Correct path for git clone and skip artefact archival.
7743+
appveyor: Correct path for git clone and skip artifact archival.
77447744

77457745
2017-11-22 Roger Leigh <rleigh@codelibre.net>
77467746

‎configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ dnl Check if optarg (and presumably related externs) already declared in headers
198198
AC_CHECK_DECLS([optarg])
199199

200200
dnl ---------------------------------------------------------------------------
201-
dnl Deprecated features and backward compatibilty
201+
dnl Deprecated features and backward compatibility
202202
dnl ---------------------------------------------------------------------------
203203

204204
AC_ARG_ENABLE([deprecated],

‎libtiff/mkg3states.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OF THIS SOFTWARE.
2323
*/
2424

25-
/* Initialise fax decoder tables
25+
/* Initialize fax decoder tables
2626
* Decoder support is derived, with permission, from the code
2727
* in Frank Cringle's viewfax program;
2828
* Copyright (C) 1990, 1995 Frank D. Cringle.
@@ -194,7 +194,7 @@ void WriteTable(FILE *fd, const TIFFFaxTabEnt *T, int Size, const char *name)
194194
fprintf(fd, "\n};\n");
195195
}
196196

197-
/* initialise the huffman code tables */
197+
/* initialize the huffman code tables */
198198
int main(int argc, char *argv[])
199199
{
200200
FILE *fd;

‎libtiff/tif_dir.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ typedef struct
146146
td_deferstrilearraywriting; /* see TIFFDeferStrileArrayWriting() */
147147

148148
/* LibTIFF writes all data that does not fit into the IFD entries directly
149-
* after the IFD tag enty part. When reading, only the IFD data directly and
150-
* continuously behind the IFD tags is taken into account for the IFD data
151-
* size.*/
149+
* after the IFD tag entry part. When reading, only the IFD data directly
150+
* and continuously behind the IFD tags is taken into account for the IFD
151+
* data size.*/
152152
uint64_t td_dirdatasize_write; /* auxiliary for evaluating size of IFD data
153153
to be written */
154154
uint64_t td_dirdatasize_read; /* auxiliary for evaluating size of IFD data

‎libtiff/tif_dirread.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4182,7 +4182,7 @@ static void CalcFinalIFDdatasizeReading(TIFF *tif, uint16_t dircount)
41824182
}
41834183
else
41844184
{
4185-
/* Further data is no more continously after IFD */
4185+
/* Further data is no more continuously after IFD */
41864186
break;
41874187
}
41884188
}

‎libtiff/tif_dirwrite.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ static void EvaluateIFDdatasizeWrite(TIFF *tif, uint32_t count,
20172017
uint64_t datalength = (uint64_t)count * typesize;
20182018
if (datalength > ((tif->tif_flags & TIFF_BIGTIFF) ? 0x8U : 0x4U))
20192019
{
2020-
/* LibTIFF increments write adress to an even offset, thus datalenght
2020+
/* LibTIFF increments write address to an even offset, thus datalenght
20212021
* written is also incremented. */
20222022
if (datalength & 1)
20232023
datalength++;

‎test/custom_dir_EXIF_231.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ int write_test_tiff(TIFF *tif, const char *filenameRead)
409409
Rational2Double or still uses the old definitions. For that,
410410
TIFF_RATIONAL tags with FIELD_CUSTOM are changed from TIFF_SETGET_DOUBLE
411411
to TIFF_SETGET_FLOAT for the new interface in order to prevent the old
412-
reading behaviour. Tags to check: TIFFTAG_BESTQUALITYSCALE,
412+
reading behavior. Tags to check: TIFFTAG_BESTQUALITYSCALE,
413413
TIFFTAG_BASELINENOISE, TIFFTAG_BASELINESHARPNESS
414414
*/
415415
fip = TIFFFindField(tif, TIFFTAG_BESTQUALITYSCALE, TIFF_ANY);

‎test/rational_precision2double.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Extended and amended version for testing the TIFFSetField() / and
3232
*TIFFGetField()- interface for custom fields of type RATIONAL when the TIFFLib
3333
*internal precision is updated from FLOAT to DOUBLE! The external interface of
34-
*already defined tags schould be kept. This is verified for some of those tags
34+
*already defined tags should be kept. This is verified for some of those tags
3535
*with this test.
3636
*
3737
*/
@@ -131,7 +131,7 @@ static const TIFFField tifFieldInfo[] = {
131131

132132
#define N(a) (sizeof(a) / sizeof(a[0]))
133133

134-
/*--- Add aditional Rational-Double Tags to TIFF
134+
/*--- Add additional Rational-Double Tags to TIFF
135135
ref: html\addingtags.html but with new function _TIFFMergeFields().
136136
---*/
137137

@@ -203,7 +203,7 @@ int main()
203203
int ret;
204204
int errorNo;
205205

206-
/*-- Initialize TIFF-Extender to add additonal TIFF-Tags --*/
206+
/*-- Initialize TIFF-Extender to add additional TIFF-Tags --*/
207207
_XTIFFInitialize();
208208

209209
fprintf(stderr, "==== Test if Set()/Get() interface for some custom "
@@ -557,7 +557,7 @@ int write_test_tiff(TIFF *tif, const char *filenameRead, int blnAllCustomTags)
557557
goto failure;
558558
}
559559

560-
/*- Varable Array: TIFF_RATIONAL, 0, TIFF_SETGET_C16_FLOAT */
560+
/*- Variable Array: TIFF_RATIONAL, 0, TIFF_SETGET_C16_FLOAT */
561561
if (!TIFFSetField(tif, TIFFTAG_BLACKLEVEL, 3, auxFloatArrayN1))
562562
{ /* for TIFF_SETGET_C16_FLOAT */
563563
fprintf(stderr, "Can't set TIFFTAG_BLACKLEVEL tag.\n");
@@ -669,7 +669,7 @@ int write_test_tiff(TIFF *tif, const char *filenameRead, int blnAllCustomTags)
669669
{
670670
fprintf(stderr,
671671
"WriteCount for .set_field_type %d should "
672-
"be -1 or greather than 1! %s\n",
672+
"be -1 or greater than 1! %s\n",
673673
tSetFieldType,
674674
tFieldArray->fields[i].field_name);
675675
}
@@ -1151,7 +1151,7 @@ int write_test_tiff(TIFF *tif, const char *filenameRead, int blnAllCustomTags)
11511151
else
11521152
{
11531153
/* Old interface reads TIFF_RATIONAL defined as
1154-
* TIFF_SETGET_DOUBLE alwasy as FLOAT */
1154+
* TIFF_SETGET_DOUBLE always as FLOAT */
11551155
auxDouble = (double)auxDblUnion.flt1;
11561156
}
11571157
}
@@ -1197,7 +1197,7 @@ int write_test_tiff(TIFF *tif, const char *filenameRead, int blnAllCustomTags)
11971197
{
11981198
fprintf(stderr,
11991199
"Reading: WriteCount for .set_field_type "
1200-
"%d should be -1 or greather than 1! %s\n",
1200+
"%d should be -1 or greater than 1! %s\n",
12011201
tSetFieldType,
12021202
tFieldArray->fields[i].field_name);
12031203
GOTOFAILURE

‎test/test_IFD_enlargement.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ int write_image_data(TIFF *tif, uint16_t width, uint16_t length, bool tiled,
134134
return 0;
135135
} /*-- write_image_data() --*/
136136

137-
/* Fills the acitve IFD with some default values and writes
137+
/* Fills the active IFD with some default values and writes
138138
* an image with given number of lines as strips (scanlines) or tiles to file.
139139
*/
140140
int write_data_to_current_directory(TIFF *tif, uint16_t width, uint16_t length,
@@ -226,7 +226,7 @@ int write_data_to_current_directory(TIFF *tif, uint16_t width, uint16_t length,
226226
return 0;
227227
} /*-- write_data_to_current_directory() --*/
228228

229-
/* Adds an EXIF IFD with some default values to the acitve IFD.
229+
/* Adds an EXIF IFD with some default values to the active IFD.
230230
*/
231231
int write_EXIF_data_to_current_directory(TIFF *tif, int i,
232232
uint64_t *dir_offset_EXIF)
@@ -370,7 +370,7 @@ int test_IFD_enlargement(const char *filename, unsigned int openMode,
370370
}
371371
if (is_strile_array_writing)
372372
{
373-
/* Set flag for defered strile-array writing. */
373+
/* Set flag for deferred strile-array writing. */
374374
if (!TIFFDeferStrileArrayWriting(tif))
375375
{
376376
fprintf(
@@ -573,7 +573,7 @@ int test_IFD_enlargement(const char *filename, unsigned int openMode,
573573
}
574574

575575
/* Check IFD 0 offset, which should have been changed.
576-
* (Because of unsused bytes before EOF generated by downsizing of XMLPACKET
576+
* (Because of unused bytes before EOF generated by downsizing of XMLPACKET
577577
* before enlarging IFD will be re-written even for numIFDs==1) */
578578
if (!TIFFSetDirectory(tif, 0))
579579
{
@@ -1459,7 +1459,7 @@ int test_CheckpointDirectory(const char *filename, bool is_big_tiff)
14591459
}
14601460
/* Check IFD offsets:
14611461
* First IFD shall be overwritten (same offset) and second IFD shall be
1462-
* re-written (differen offset). */
1462+
* re-written (different offset). */
14631463
if (!TIFFSetDirectory(tif, i))
14641464
{
14651465
fprintf(stderr, "Can't set directory %d of %s. Testline %d\n", i,
@@ -1602,7 +1602,7 @@ int test_CheckpointDirectory(const char *filename, bool is_big_tiff)
16021602
return 1;
16031603
} /*-- test_CheckpointDirectory --*/
16041604

1605-
/* LibTIFF increments IFD write-pointer allways to even adresses, thus leaving 1
1605+
/* LibTIFF increments IFD write-pointer always to even addresses, thus leaving 1
16061606
* byte gaps in the data space for data outside IFD entries. This routine
16071607
* checks correct handling for that.
16081608
*/

‎test/test_directory.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ int test_arbitrary_directrory_loading(unsigned int openMode)
444444
if (TIFFSetDirectory(tif, N_DIRECTORIES))
445445
{
446446
fprintf(stderr,
447-
"No expected fail for accessing not existant directory number "
447+
"No expected fail for accessing not existent directory number "
448448
"%d in file %s\n",
449449
N_DIRECTORIES, filename);
450450
goto failure;
@@ -530,7 +530,7 @@ int test_arbitrary_directrory_loading(unsigned int openMode)
530530
}
531531

532532
/* Second UnlinkDirectory -> two IFDs are missing in the main-IFD chain
533-
* then, orignal dirnum 2 and 3 */
533+
* then, original dirnum 2 and 3 */
534534
if (!TIFFUnlinkDirectory(tif, 3))
535535
{
536536
fprintf(stderr, "Can't unlink directory %d within %s\n", 3, filename);
@@ -649,7 +649,7 @@ int test_arbitrary_directrory_loading(unsigned int openMode)
649649
}
650650

651651
/* Third UnlinkDirectory -> three IFDs are missing in the main-IFD chain
652-
* then, orignal dirnum 0, 2 and 3
652+
* then, original dirnum 0, 2 and 3
653653
* Furthermore, this test checks that TIFFUnlinkDirectory() can unlink
654654
* the first directory dirnum = 0 and a following TIFFSetDirectory(0)
655655
* does not load the unlinked directory. */

‎test/test_open_options.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ int open_file_and_write(const char *filename, char *openModeString,
357357
* 'tiff_offsetsize' are swapped or not, depending how the file was opened: They
358358
* were not swapped when opening with "w" or opening an not existent file with
359359
* "a". They were swapped when opening an existent file with "r" or "a". This
360-
* behaviour shall be harmonized so that the internal parameters are allways in
360+
* behaviour shall be harmonized so that the internal parameters are always in
361361
* host byte-order.
362362
*/
363363
int test_TIFFheader_swapping(void)

‎test/test_write_read_tags.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ char inkNamesW[] = {"Ink1\0Ink2\0Ink3"};
103103
#define NUM_ELEMENTS(x) (sizeof(x) / sizeof(x[0]))
104104

105105
/* -- List of tags, which must not be written with arbitrary values because they
106-
* are written explicitely by the test program (like the basic TIFF tags),
106+
* are written explicitly by the test program (like the basic TIFF tags),
107107
* are automatically written by LibTIFF (e.g.TIFFTAG_NUMBEROFINKS),
108108
* have some special characteristics, or write procedure is not supported
109109
* yet.
@@ -519,7 +519,7 @@ int write_test_tiff(TIFF *tif, const char *filenameRead)
519519
/*-- Write dummy pixel data at the end of all directories. --*/
520520
if (TIFFWriteScanline(tif, buf, 0, 0) < 0)
521521
{
522-
fprintf(stderr, "Can't write image data after all direcories.\n");
522+
fprintf(stderr, "Can't write image data after all directories.\n");
523523
goto failure;
524524
}
525525
#endif
@@ -946,7 +946,7 @@ int write_all_tags(TIFF *tif, const TIFFFieldArray *tFieldArray,
946946
for (uint32_t t = 0; t < nTags; i++, t++)
947947
{
948948
bool deferredSetField = false;
949-
/* Allways reset variableArrayCount to default value here. */
949+
/* Always reset variableArrayCount to default value here. */
950950
uint32_t variableArrayCount = VARIABLE_ARRAY_SIZE;
951951

952952
uint32_t tTag = tFieldArray->fields[t].field_tag;
@@ -1103,7 +1103,7 @@ int write_all_tags(TIFF *tif, const TIFFFieldArray *tFieldArray,
11031103
tSetFieldType, tFieldArray->fields[t].field_name);
11041104
}
11051105
break;
1106-
/* _Cxx_ just defines the precense and size of the count
1106+
/* _Cxx_ just defines the presence and size of the count
11071107
* parameter for the array:
11081108
* - C0=no count parameter (fixed array where,
11091109
* positive readcount/writecount gives array count)
@@ -1613,7 +1613,7 @@ int read_all_tags(TIFF *tif, const TIFFFieldArray *tFieldArray,
16131613
case TIFF_SETGET_C32_UINT32:
16141614
case TIFF_SETGET_C32_SINT32:
16151615
{
1616-
/* _Cxx_ just defines the precense and size of the count
1616+
/* _Cxx_ just defines the presence and size of the count
16171617
* parameter for the array:
16181618
* - C0=no count parameter (fixed array where,
16191619
* positive readcount/writecount gives array count)

‎tools/CMakeLists.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,29 @@
2525
# Windows specific resource preparation
2626
if (WIN32)
2727
message(STATUS "Include resource version information for TOOLS")
28-
set(MSVC_RESSOURCE_FILE tif_tools_versioninfo.rc)
28+
set(MSVC_RESOURCE_FILE tif_tools_versioninfo.rc)
2929
source_group("Resource Files" FILES tif_tools_versioninfo.rc)
3030
endif ()
3131

3232

3333
add_executable(tiffcp ../placeholder.h)
34-
target_sources(tiffcp PRIVATE tiffcp.c ${MSVC_RESSOURCE_FILE})
34+
target_sources(tiffcp PRIVATE tiffcp.c ${MSVC_RESOURCE_FILE})
3535
target_link_libraries(tiffcp PRIVATE tiff tiff_port)
3636

3737
add_executable(tiffdump ../placeholder.h)
38-
target_sources(tiffdump PRIVATE tiffdump.c ${MSVC_RESSOURCE_FILE})
38+
target_sources(tiffdump PRIVATE tiffdump.c ${MSVC_RESOURCE_FILE})
3939
target_link_libraries(tiffdump PRIVATE tiff tiff_port)
4040

4141
add_executable(tiffinfo ../placeholder.h)
42-
target_sources(tiffinfo PRIVATE tiffinfo.c ${MSVC_RESSOURCE_FILE})
42+
target_sources(tiffinfo PRIVATE tiffinfo.c ${MSVC_RESOURCE_FILE})
4343
target_link_libraries(tiffinfo PRIVATE tiff tiff_port)
4444

4545
add_executable(tiffset ../placeholder.h)
46-
target_sources(tiffset PRIVATE tiffset.c ${MSVC_RESSOURCE_FILE})
46+
target_sources(tiffset PRIVATE tiffset.c ${MSVC_RESOURCE_FILE})
4747
target_link_libraries(tiffset PRIVATE tiff tiff_port)
4848

4949
add_executable(tiffsplit ../placeholder.h)
50-
target_sources(tiffsplit PRIVATE tiffsplit.c ${MSVC_RESSOURCE_FILE})
50+
target_sources(tiffsplit PRIVATE tiffsplit.c ${MSVC_RESOURCE_FILE})
5151
target_link_libraries(tiffsplit PRIVATE tiff tiff_port)
5252

5353
# rgb2ycbcr and thumbnail are intended to *NOT* be installed. They are for

‎tools/unsupported/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ message(STATUS "==== Tools - Unsupported =========")
2727
# Windows specific resource preparation
2828
if (WIN32)
2929
message(STATUS "Include resource version information for TOOLS-UNSUPPORTED")
30-
set(MSVC_RESSOURCE_FILE tif_tools-unsupported_versioninfo.rc)
30+
set(MSVC_RESOURCE_FILE tif_tools-unsupported_versioninfo.rc)
3131
source_group("Resource Files" FILES tif_tools-unsupported_versioninfo.rc)
3232
endif ()
3333

3434

3535
add_executable(tiff2pdf ../../placeholder.h)
36-
target_sources(tiff2pdf PRIVATE tiff2pdf.c ${MSVC_RESSOURCE_FILE})
36+
target_sources(tiff2pdf PRIVATE tiff2pdf.c ${MSVC_RESOURCE_FILE})
3737
target_link_libraries(tiff2pdf PRIVATE tiff tiff_port)
3838

3939
add_executable(tiff2ps ../../placeholder.h)
40-
target_sources(tiff2ps PRIVATE tiff2ps.c ${MSVC_RESSOURCE_FILE})
40+
target_sources(tiff2ps PRIVATE tiff2ps.c ${MSVC_RESOURCE_FILE})
4141
target_link_libraries(tiff2ps PRIVATE tiff tiff_port CMath::CMath)
4242

4343
# rgb2ycbcr and thumbnail are intended to *NOT* be installed. They are for

0 commit comments

Comments
 (0)
Please sign in to comment.