File: 0001-Fix-spelling-errors.patch

package info (click to toggle)
unarr 1.0.1-1.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 600 kB
  • sloc: ansic: 9,421; makefile: 47
file content (35 lines) | stat: -rw-r--r-- 1,539 bytes parent folder | download | duplicates (2)
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
From: Bas Couwenberg <sebastic@debian.org>
Date: Thu, 20 Sep 2018 16:41:00 -0400
Subject: Fix spelling errors.

---
 rar/filter-rar.c | 2 +-
 unarr.h          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rar/filter-rar.c b/rar/filter-rar.c
index de4ba3a..2670747 100644
--- a/rar/filter-rar.c
+++ b/rar/filter-rar.c
@@ -645,7 +645,7 @@ bool rar_run_filters(ar_archive_rar *rar)
     filters->filterstart = SIZE_MAX;
     end = (size_t)rar_expand(rar, end);
     if (end != start + filter->blocklength) {
-        warn("Failed to expand the expected amout of bytes");
+        warn("Failed to expand the expected amount of bytes");
         return false;
     }
 
diff --git a/unarr.h b/unarr.h
index 4999fd5..965e856 100644
--- a/unarr.h
+++ b/unarr.h
@@ -99,7 +99,7 @@ UNARR_EXPORT time64_t ar_entry_get_filetime(ar_archive *ar);
 /* uncompresses the next 'count' bytes of the current entry into buffer; returns false on error */
 UNARR_EXPORT bool ar_entry_uncompress(ar_archive *ar, void *buffer, size_t count);
 
-/* copies at most 'count' bytes of the archive's global comment (if any) into buffer; returns the actual amout of bytes copied (or, if 'buffer' is NULL, the required buffer size) */
+/* copies at most 'count' bytes of the archive's global comment (if any) into buffer; returns the actual amount of bytes copied (or, if 'buffer' is NULL, the required buffer size) */
 UNARR_EXPORT size_t ar_get_global_comment(ar_archive *ar, void *buffer, size_t count);
 
 /***** rar/rar *****/