Skip to content

Commit 70c6e28

Browse files
rffontenelledcantrell
authored andcommitted
Fix misspellings
1 parent 2175c0f commit 70c6e28

15 files changed

+25
-25
lines changed

contrib/viewer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ <h2><a href="https://github.com/rpminspect/rpminspect/issues">rpminspect</a></h2
118118

119119
// Compute an overall result for inspections
120120
// Return a list of { name, results: [...], result } objects
121-
// results is a list of all occuring result types, sorted like RESULTS
121+
// results is a list of all occurring result types, sorted like RESULTS
122122
// result is the most severe of results (i.e. last array item)
123123
function getInspectionResults(report) {
124124
const inspections = [];

data/generic.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ badfuncs:
854854
# Some libraries deliberately use forbidden functions. In these
855855
# cases, you can specify an 'allowed' block listing path globs and
856856
# the specific functions they are allowed to use. It is
857-
# adviseable to add a comment indicating why the function is
857+
# advisable to add a comment indicating why the function is
858858
# allowed to use forbidden functions for future reference. The
859859
# path specifications can be explicit paths or patterns that are
860860
# compatible with fnmatch(3) and glob(3).
@@ -946,7 +946,7 @@ unicode:
946946
- text/html
947947

948948
# List of forbidden Unicode codepoints in source code. Codepoints
949-
# are written in hexidecimal notation. The case of the letters
949+
# are written in hexadecimal notation. The case of the letters
950950
# does not matter. Be sure to prefix the code point with '0x' and
951951
# use single quotes around the values.
952952
forbidden_codepoints:

include/constants.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ extern "C"
621621
* @def KERNEL_MODULE_FILENAME_EXTENSION
622622
*
623623
* Linux loadable kernel module filename extension. Note that kernel
624-
* modules can be compressed with a typical compression appened after
624+
* modules can be compressed with a typical compression appended after
625625
* this string. rpminspect can handle those cases.
626626
*/
627627
#define KERNEL_MODULE_FILENAME_EXTENSION ".ko"

include/inspect.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ bool inspect_manpage(struct rpminspect *ri);
179179
*
180180
* Perform some RPM header checks. First, check that the Vendor
181181
* contains the expected string as defined in the configuration
182-
* file. Second, chec k that the build host is in the expected
182+
* file. Second, check that the build host is in the expected
183183
* subdomain as defined in the configuration file. Third, check the
184184
* Summary string for any unprofessional words. Fourth, check the
185185
* Description for any unprofessional words. Lastly, if there is a

include/parser.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extern "C"
2121
#include <stdbool.h>
2222
#include <string.h>
2323

24-
/* Abstract type - implemtations should cast to an appropriate type. */
24+
/* Abstract type - implementations should cast to an appropriate type. */
2525
typedef struct parser_context_st *parser_context;
2626

2727
/* Initialize a parser context for the given file. */
@@ -38,7 +38,7 @@ typedef bool (*parser_have_section_fn)(parser_context *context, const char *sect
3838
* structure. All structures are dictionary-like. Pass NULL for the second
3939
* key if there's only one level of nesting, and NULL for both keys to operate
4040
* on the top-level structure. free() the returned string when done. Returns
41-
* NULL if string not found or the object at the specfied position wasn't a
41+
* NULL if string not found or the object at the specified position wasn't a
4242
* string.
4343
*/
4444
typedef char *(*parser_getstr_fn)(parser_context *context, const char *key1, const char *key2);

include/readelf.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ bool is_elf(const char *path);
139139
* Given a path to a file, this function returns true if the file is
140140
* an ELF shared library. That is, if it is ELF type ET_DYN.
141141
*
142-
* @param path The fullpath tothe file in question.
142+
* @param path The fullpath to the file in question.
143143
* @return True if the file is an ELF shared library, false otherwise.
144144
*/
145145
bool is_elf_shared_library(const char *path);
@@ -150,7 +150,7 @@ bool is_elf_shared_library(const char *path);
150150
* Given a path to a file, this function returns true if the file is
151151
* an ELF executable. That is, if it is ELF type ET_EXEC.
152152
*
153-
* @param path The fullpath tothe file in question.
153+
* @param path The fullpath to the file in question.
154154
* @return True if the file is an ELF executable, false otherwise.
155155
*/
156156
bool is_elf_executable(const char *path);
@@ -162,7 +162,7 @@ bool is_elf_executable(const char *path);
162162
* an ELF file. That is, an ELF executable, shared library, or shared
163163
* object.
164164
*
165-
* @param path The fullpath tothe file in question.
165+
* @param path The fullpath to the file in question.
166166
* @return True if the file is an ELF file, false otherwise.
167167
*/
168168
bool is_elf_file(const char *path);
@@ -174,7 +174,7 @@ bool is_elf_file(const char *path);
174174
* an ELF archive. That is, a '.a' file consisting of ELF object
175175
* files.
176176
*
177-
* @param path The fullpath tothe file in question.
177+
* @param path The fullpath to the file in question.
178178
* @return True if the file is an ELF archive, false otherwise.
179179
*/
180180
bool is_elf_archive(const char *path);

include/results.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ extern "C"
781781

782782
#define REMEDY_RPMDEPS_LOST _("A dependency seen in the before build is not seen in the after build meaning it was removed or lost. If this is a VERIFY result, it means rpminspect noticed the change in what it considers a maintenance update in a package. An INFO result means it noticed this change, but deems it ok because it is comparing a rebased build.")
783783

784-
#define REMEDY_RPMDEPS_EPOCH _("The package has an Epoch value greater than zero, but the explicit subpackage dependencies are not consistently using it. For the dependency reported, the '= %{version}-%{release}' needs to change to '= %{epoch}:%{version}-%{release}' to capture the package package Epoch in the dependency.")
784+
#define REMEDY_RPMDEPS_EPOCH _("The package has an Epoch value greater than zero, but the explicit subpackage dependencies are not consistently using it. For the dependency reported, the '= %{version}-%{release}' needs to change to '= %{epoch}:%{version}-%{release}' to capture the package Epoch in the dependency.")
785785

786786
/** @} */
787787

lib/badwords.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* Given a list of bad words, check the specified string for any of
2727
* those bad words and return true on a match. The search is
28-
* conducted with **strcasestr(3)** as well as checking for a preceeding
28+
* conducted with **strcasestr(3)** as well as checking for a preceding
2929
* space to ensure it avoids substrings in the middle of a word. For
3030
* example, if the badwords list contains `flag' then this function
3131
* will match ` flag' and ` flagging' but not ` conflagration'. If

lib/files.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/*
4242
* hash table used for file entries
43-
* Not all values are used each time this hash table is implemeneted.
43+
* Not all values are used each time this hash table is implemented.
4444
* See below. One place uses the path and index and another place
4545
* uses the path and rpmfile.
4646
*/
@@ -610,7 +610,7 @@ static char *comparable_version_substrings(const char *s, const char *ignore)
610610
* works and the accepted practices of packagers.
611611
*
612612
* @param path The path string.
613-
* @param version The version subtring.
613+
* @param version The version substring.
614614
* @param release The release substring.
615615
* @return A newly allocated version-release substring for use in path
616616
* substring substitution. Caller must free this returned string.

lib/inspect_annocheck.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static libannocheck_test_state get_worst(libannocheck_test_state worst, libannoc
200200

201201
/*
202202
* Do the libannocheck setup for a file. If this is the first call,
203-
* it will initializae libannocheck. Otherwise, it will reinit the
203+
* it will initialize libannocheck. Otherwise, it will reinit the
204204
* existing handle. Returns libannocheck handle on success, NULL
205205
* otherwise.
206206
*/

lib/inspect_desktop.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ static bool validate_desktop_contents(struct rpminspect *ri, const rpmfile_entry
364364
params.severity = RESULT_VERIFY;
365365
params.waiverauth = WAIVABLE_BY_ANYONE;
366366
params.verb = VERB_FAILED;
367-
params.noun = _("${FILE} references unreadble icon on ${ARCH}");
367+
params.noun = _("${FILE} references unreadable icon on ${ARCH}");
368368
add_result(ri, &params);
369369
free(params.msg);
370370
result = false;

lib/inspect_rpmdeps.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ static bool check_explicit_lib_deps(struct rpminspect *ri, Header h, deprule_lis
316316

317317
pn = headerGetString(peer->after_hdr, RPMTAG_NAME);
318318

319-
/* check that the Requires is explict and matches the Provides */
319+
/* check that the Requires is explicit and matches the Provides */
320320
if (!strcmp(req->requirement, prov->requirement)) {
321321
/* a package is allowed to to Provide and Require the same thing */
322322
/* otherwise we found the subpackage that Provides this explicit Requires */
@@ -331,7 +331,7 @@ static bool check_explicit_lib_deps(struct rpminspect *ri, Header h, deprule_lis
331331
/*
332332
* we may have a dependency such as:
333333
* Requires: %{name}-libs%{?_isa} = %{version}-%{release}'
334-
* trim the '(x86-64)' or similar ISA substring for comparision purposes
334+
* trim the '(x86-64)' or similar ISA substring for comparison purposes
335335
* also trim leading '(' to account for rich deps
336336
*/
337337
isareq = remove_isa_substring(req->requirement);

lib/rpm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ const char *get_rpm_header_arch(Header h)
188188
*
189189
* @param hdr RPM header
190190
* @param tag RPM header tag constant (e.g., RPMTAG_SOURCE)
191-
* @return Newly allocated string_list_t containg tag values.
191+
* @return Newly allocated string_list_t containing tag values.
192192
*/
193193
string_list_t *get_rpm_header_string_array(Header hdr, rpmTagVal tag)
194194
{

test/test_changelog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def setUp(self):
5050
self.after_rpm.section_changelog = None
5151

5252
self.inspection = "changelog"
53-
# this is INFO because it's only comapring the binary RPMs,
53+
# this is INFO because it's only comparing the binary RPMs,
5454
# the other checks are for SRPMs
5555
self.result = "INFO"
5656
self.waiver_auth = "Not Waivable"

test/test_permissions.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1320,7 +1320,7 @@ def setUp(self):
13201320
class DirIWOTHProhibitedSRPM(TestSRPM):
13211321
"""
13221322
Assert when a world-writable dir is in a package,
1323-
OK result occures when testing the SRPM.
1323+
OK result occurs when testing the SRPM.
13241324
"""
13251325

13261326
def setUp(self):
@@ -1559,7 +1559,7 @@ def setUp(self):
15591559
class DirIWOTHProhibitedCompareSRPM(TestCompareSRPM):
15601560
"""
15611561
Assert when a world-writable dir is in a package,
1562-
OK result occures when testing the SRPMs.
1562+
OK result occurs when testing the SRPMs.
15631563
"""
15641564

15651565
def setUp(self):
@@ -1798,7 +1798,7 @@ def setUp(self):
17981798
class DirIWOTHandISVTXProhibitedSRPM(TestSRPM):
17991799
"""
18001800
Assert when a world-writable dir with the sticky bit is in a package,
1801-
OK result occures when testing the SRPM.
1801+
OK result occurs when testing the SRPM.
18021802
"""
18031803

18041804
def setUp(self):
@@ -2037,7 +2037,7 @@ def setUp(self):
20372037
class DirIWOTHandISVTXProhibitedCompareSRPM(TestCompareSRPM):
20382038
"""
20392039
Assert when a world-writable dir with the sticky bit is in a package,
2040-
OK result occures when testing the SRPMs.
2040+
OK result occurs when testing the SRPMs.
20412041
"""
20422042

20432043
def setUp(self):

0 commit comments

Comments
 (0)