File: fix-typo.patch

package info (click to toggle)
checkit-tiff 1.6.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,232 kB
  • sloc: ansic: 8,441; perl: 1,265; sh: 224; cpp: 62; makefile: 6
file content (38 lines) | stat: -rw-r--r-- 3,329 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: fix typo, check by lintian
Author: xiao sheng wen <atzlinux@debian.org>
Forwarded: not-needed
Last-Update: 2025-08-25

---

--- checkit-tiff-1.6.0.orig/src/lib/helper/check_helper.c
+++ checkit-tiff-1.6.0/src/lib/helper/check_helper.c
@@ -120,7 +120,7 @@ ret_t set_value_found_ret_formatted_with
 ret_t set_expected_value_formatted (ret_t * rp, const char * fmt, ...) {
     va_list argptr;
     char * msg = calloc(VALUESTRLEN, sizeof(char));
-    if (NULL == msg) { fprintf(stderr, "could not allocate memory in src funtion %s", __func__ ); exit(EXIT_FAILURE);}
+    if (NULL == msg) { fprintf(stderr, "could not allocate memory in src function %s", __func__ ); exit(EXIT_FAILURE);}
     va_start(argptr, fmt);
     vsnprintf(msg, VALUESTRLEN, fmt, argptr);
     va_end(argptr);
--- checkit-tiff-1.6.0.orig/src/lib/messages/msg_tiffparse.c
+++ checkit-tiff-1.6.0/src/lib/messages/msg_tiffparse.c
@@ -293,7 +293,7 @@ const char * TIFFTagName( tag_t tag ) {
     /* 34361 */ case 34361: return ("MMHeader (Olympus Fluoview or Andor Bio-imaging Division)"); /* https://github.com/openmicroscopy/bioformats/blob/v5.2.4/components/formats-gpl/src/loci/formats/in/FluoviewReader.java */
     /* 34362 */ case 34362: return ("MMStamp (Olympus Fluoview or Andor Bio-imaging Division)"); /* https://github.com/openmicroscopy/bioformats/blob/v5.2.4/components/formats-gpl/src/loci/formats/in/FluoviewReader.java */
 
-    /* 34377 */ case TIFFTAG_PHOTOSHOP: return ("Photoshop Image Ressources"); /*  see http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577413_pgfId-1039502, also see paragraph "Photoshop Image Resource Metadata Structure" in http://help.accusoft.com/ImageGear/v17.2/Windows/DLL/topic755.html or http://fileformats.archiveteam.org/wiki/Photoshop_Image_Resources, this points to http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577409_pgfId-1037685 and http://www.awaresystems.be/imaging/tiff/tifftags/docs/photoshopthumbnail.html*/
+    /* 34377 */ case TIFFTAG_PHOTOSHOP: return ("Photoshop Image Resources"); /*  see http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577413_pgfId-1039502, also see paragraph "Photoshop Image Resource Metadata Structure" in http://help.accusoft.com/ImageGear/v17.2/Windows/DLL/topic755.html or http://fileformats.archiveteam.org/wiki/Photoshop_Image_Resources, this points to http://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#50577409_pgfId-1037685 and http://www.awaresystems.be/imaging/tiff/tifftags/docs/photoshopthumbnail.html*/
 
     /* 34665 */ case TIFFTAG_EXIFIFD: return ("EXIFIFDOffset");
 
@@ -540,7 +540,7 @@ const char * TIFFTagName( tag_t tag ) {
     /* 50455 */ case 50455: return ("unknown Sinar tag"); /* http://hg.corpus-callosum.com/X3F_Utilities/X3F_qlgenerator/rev/177b9a6b3b14?revcount=30 */
     /* 50459 */ case 50459: return ("Hasselblad IFD"); /* http://hg.corpus-callosum.com/X3F_Utilities/X3F_qlgenerator/rev/177b9a6b3b14?revcount=30 */
 
-    /* 50547 */ case 0xc573: return ("OriginalFileName (unusally)"); /* https://exiftool.org/TagNames/EXIF.html */
+    /* 50547 */ case 0xc573: return ("OriginalFileName (unusually)"); /* https://exiftool.org/TagNames/EXIF.html */
 
     /* 50560 */ case 0xc580: return ("USPTOOriginalContentType"); /* https://exiftool.org/TagNames/EXIF.html */