Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rpm-software-management/createrepo_c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Alley <dalley@redhat.com>2021-05-28 05:36:55 +0300
committeramatej <matej.ales@seznam.cz>2021-06-01 08:24:05 +0300
commit60593e10b54a5356e1d7598030dc3d9d6459cdcd (patch)
tree6b7bfb38517ef399e4039c4db3b337452d773356
parent1ec1e767e4a48bc2c1d09b52da9e749352f8d925 (diff)
Fix typos
-rw-r--r--src/load_metadata.c8
-rw-r--r--src/xml_parser_filelists.c2
-rw-r--r--src/xml_parser_internal.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/src/load_metadata.c b/src/load_metadata.c
index b734e72..dcde8f6 100644
--- a/src/load_metadata.c
+++ b/src/load_metadata.c
@@ -173,7 +173,7 @@ typedef struct {
GStringChunk *chunk;
GHashTable *pkglist_ht;
GHashTable *ignored_pkgIds; /*!< If there are multiple packages
- wich have the same checksum (pkgId) but they are in fact different
+ which have the same checksum (pkgId) but they are in fact different
(they have different basenames, mtimes or sizes),
then we want to ignore these packages during
loading. It's because the pkgId is used to pair metadata from
@@ -495,7 +495,7 @@ cr_metadata_load_modulemd(cr_Metadata *md,
&tmp_err);
if (!result) {
if (!tmp_err){
- g_set_error(err, CRE_MODULEMD, CREATEREPO_C_ERROR,
+ g_set_error(err, CRE_MODULEMD, CREATEREPO_C_ERROR,
"Unknown error in libmodulemd with %s",
modulemd_metadatum->name);
}else{
@@ -586,7 +586,7 @@ cr_metadata_load_xml(cr_Metadata *md,
break;
default:
// Well, this SHOULD never happend!
- // (md->key SHOULD be setted only by cr_metadata_new()
+ // (md->key SHOULD be set only by cr_metadata_new()
// and it SHOULD set only valid key values)
g_critical("%s: Unknown hash table key selected", __func__);
assert(0);
@@ -610,7 +610,7 @@ cr_metadata_load_xml(cr_Metadata *md,
)
{
// We got a key (checksum, filename, pkg name, ..)
- // which has a multiple occurences which are different.
+ // which has a multiple occurrences which are different.
// Ignore such key
g_debug("%s: Key \"%s\" is present multiple times and with "
"different values. Ignoring all occurrences. "
diff --git a/src/xml_parser_filelists.c b/src/xml_parser_filelists.c
index 880c225..f4fe6c0 100644
--- a/src/xml_parser_filelists.c
+++ b/src/xml_parser_filelists.c
@@ -116,7 +116,7 @@ cr_start_handler(void *pdata, const xmlChar *element, const xmlChar **attr)
if (!pkgId) {
// Package without a pkgid attr is error
g_set_error(&pd->err, ERR_DOMAIN, ERR_CODE_XML,
- "Package pkgid attributte is missing!");
+ "Package pkgid attribute is missing!");
break;
}
diff --git a/src/xml_parser_internal.h b/src/xml_parser_internal.h
index b684594..c80e5b5 100644
--- a/src/xml_parser_internal.h
+++ b/src/xml_parser_internal.h
@@ -117,9 +117,9 @@ typedef struct _cr_ParserData {
int do_files; /*!<
If == 0 then parser will ignore files elements in the primary.xml.
- This is useful when you are inteding parse primary.xml as well as
+ This is useful when you are intending to parse primary.xml as well as
filelists.xml. In this case files will be filled from filelists.xml.
- If you are inteding parse only the primary.xml then it coud be useful
+ If you are intending to parse only the primary.xml then it could be useful
to parse files in primary.
If you parse files from both a primary.xml and a filelists.xml
then some files in package object will be duplicated! */