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 39 40 41 42 43 44 45 46 47 48 49 50
|
Description: Correct some typographical errors.
Author: Peter Pentchev <roam@ringlet.net>
Last-Update: 2021-02-11
--- a/modulemd/include/modulemd-2.0/modulemd-module-stream.h
+++ b/modulemd/include/modulemd-2.0/modulemd-module-stream.h
@@ -32,7 +32,7 @@
/**
* MMD_MAXCONTEXTLEN:
*
- * The ModuleStream v3 specification defines the maximum lenth of the context
+ * The ModuleStream v3 specification defines the maximum length of the context
* field.
*
* Since: 2.10
--- a/modulemd/include/modulemd-2.0/modulemd-module.h
+++ b/modulemd/include/modulemd-2.0/modulemd-module.h
@@ -326,7 +326,7 @@
* @context: (in) (nullable): The stream context to look up obsoletes for.
*
* Returns: (transfer none): The newest active obsoletes attached to this module with
- * specified stream and context (when eol_date is not set or it already occured
+ * specified stream and context (when eol_date is not set or it already occurred
* the obsoletes is active). If no context is passed it matches obsoletes without context.
*
* Since: 2.10
--- a/modulemd/include/modulemd-2.0/modulemd-obsoletes.h
+++ b/modulemd/include/modulemd-2.0/modulemd-obsoletes.h
@@ -246,8 +246,8 @@
* @self: (in): This #ModulemdObsoletes object.
*
* Returns: If this #ModulemdObsoletes object has eol_date set and the
- * date has not occured yet it returns false otherwise it returns true.
- * (When eol_date is not set or it already occured the obsoletes is active.)
+ * date has not occurred yet it returns false otherwise it returns true.
+ * (When eol_date is not set or it already occurred the obsoletes is active.)
*
* Since: 2.10
*/
--- a/modulemd/modulemd-module-index.c
+++ b/modulemd/modulemd-module-index.c
@@ -1618,7 +1618,7 @@
if (obsoletes)
{
- /* Add obsoletes, overriding if we enounter one with
+ /* Add obsoletes, overriding if we encounter one with
* identical module, stream, context and modified time.
*/
if (!modulemd_module_index_add_obsoletes (
|