This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmo-remsim/+/14820 )
Change subject: Fix common misspellings and typos
......................................................................
Fix common misspellings and typos
Change-Id: I8152acaccd33a4b646d56cba0748aeefa0c16b35
---
M doc/manuals/chapters/remsim-bankd.adoc
M include/osmocom/rspro/INTEGER.h
M include/osmocom/rspro/constr_TYPE.h
M include/osmocom/rspro/per_support.h
M src/rspro/NativeInteger.c
M src/rspro/OCTET_STRING.c
M src/rspro/ber_tlv_tag.c
M src/rspro/constr_CHOICE.c
M src/rspro/constr_SEQUENCE.c
M src/rspro/converter-sample.c
M src/rspro/per_opentype.c
M src/simtrace2/apdu_dispatch.c
12 files changed, 14 insertions(+), 14 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/doc/manuals/chapters/remsim-bankd.adoc b/doc/manuals/chapters/remsim-bankd.adoc
index d35056b..a3a1921 100644
--- a/doc/manuals/chapters/remsim-bankd.adoc
+++ b/doc/manuals/chapters/remsim-bankd.adoc
@@ -127,4 +127,4 @@
----
In this example, there's only a single PC/SC reader available, and it has a string of
-"Alcor Micro AU9560 00 00" whcih needs to be copy-pasted into the CSV file.
+"Alcor Micro AU9560 00 00" which needs to be copy-pasted into the CSV file.
diff --git a/include/osmocom/rspro/INTEGER.h b/include/osmocom/rspro/INTEGER.h
index e8b36c7..c8edf12 100644
--- a/include/osmocom/rspro/INTEGER.h
+++ b/include/osmocom/rspro/INTEGER.h
@@ -68,8 +68,8 @@
ASN_STRTOL_ERROR_RANGE = -3, /* Input outside of numeric range for long type */
ASN_STRTOL_ERROR_INVAL = -2, /* Invalid data encountered (e.g., "+-") */
ASN_STRTOL_EXPECT_MORE = -1, /* More data expected (e.g. "+") */
- ASN_STRTOL_OK = 0, /* Conversion succeded, number ends at (*end) */
- ASN_STRTOL_EXTRA_DATA = 1, /* Conversion succeded, but the string has extra stuff */
+ ASN_STRTOL_OK = 0, /* Conversion succeeded, number ends at (*end) */
+ ASN_STRTOL_EXTRA_DATA = 1, /* Conversion succeeded, but the string has extra stuff */
};
enum asn_strtol_result_e asn_strtol_lim(const char *str, const char **end, long *l);
diff --git a/include/osmocom/rspro/constr_TYPE.h b/include/osmocom/rspro/constr_TYPE.h
index 13c60f3..e244d20 100644
--- a/include/osmocom/rspro/constr_TYPE.h
+++ b/include/osmocom/rspro/constr_TYPE.h
@@ -158,8 +158,8 @@
typedef struct asn_TYPE_tag2member_s {
ber_tlv_tag_t el_tag; /* Outmost tag of the member */
int el_no; /* Index of the associated member, base 0 */
- int toff_first; /* First occurence of the el_tag, relative */
- int toff_last; /* Last occurence of the el_tag, relatvie */
+ int toff_first; /* First occurrence of the el_tag, relative */
+ int toff_last; /* Last occurrence of the el_tag, relatvie */
} asn_TYPE_tag2member_t;
/*
diff --git a/include/osmocom/rspro/per_support.h b/include/osmocom/rspro/per_support.h
index 181fe24..ed945ce 100644
--- a/include/osmocom/rspro/per_support.h
+++ b/include/osmocom/rspro/per_support.h
@@ -53,7 +53,7 @@
*/
int32_t per_get_few_bits(asn_per_data_t *per_data, int get_nbits);
-/* Undo the immediately preceeding "get_few_bits" operation */
+/* Undo the immediately preceding "get_few_bits" operation */
void per_get_undo(asn_per_data_t *per_data, int get_nbits);
/*
diff --git a/src/rspro/NativeInteger.c b/src/rspro/NativeInteger.c
index ef17bee..17a58ea 100644
--- a/src/rspro/NativeInteger.c
+++ b/src/rspro/NativeInteger.c
@@ -94,7 +94,7 @@
/*
* ASN.1 encoded INTEGER: buf_ptr, length
* Fill the native, at the same time checking for overflow.
- * If overflow occured, return with RC_FAIL.
+ * If overflow occurred, return with RC_FAIL.
*/
{
INTEGER_t tmp;
diff --git a/src/rspro/OCTET_STRING.c b/src/rspro/OCTET_STRING.c
index 3e424e7..6df9a0a 100644
--- a/src/rspro/OCTET_STRING.c
+++ b/src/rspro/OCTET_STRING.c
@@ -109,7 +109,7 @@
/*
* The main reason why ASN.1 is still alive is that too much time and effort
* is necessary for learning it more or less adequately, thus creating a gut
- * necessity to demonstrate that aquired skill everywhere afterwards.
+ * necessity to demonstrate that acquired skill everywhere afterwards.
* No, I am not going to explain what the following stuff is.
*/
struct _stack_el {
diff --git a/src/rspro/ber_tlv_tag.c b/src/rspro/ber_tlv_tag.c
index 4270876..adf3a25 100644
--- a/src/rspro/ber_tlv_tag.c
+++ b/src/rspro/ber_tlv_tag.c
@@ -42,7 +42,7 @@
*/
if(val >> ((8 * sizeof(val)) - 9)) {
/*
- * We would not be able to accomodate
+ * We would not be able to accommodate
* any more tag bits.
*/
return -1;
diff --git a/src/rspro/constr_CHOICE.c b/src/rspro/constr_CHOICE.c
index 18c24cd..6a88b29 100644
--- a/src/rspro/constr_CHOICE.c
+++ b/src/rspro/constr_CHOICE.c
@@ -156,7 +156,7 @@
}
if(ctx->left >= 0) {
- /* ?Substracted below! */
+ /* ?Subtracted below! */
ctx->left += rval.consumed;
}
ADVANCE(rval.consumed);
diff --git a/src/rspro/constr_SEQUENCE.c b/src/rspro/constr_SEQUENCE.c
index 21e5190..0ffa282 100644
--- a/src/rspro/constr_SEQUENCE.c
+++ b/src/rspro/constr_SEQUENCE.c
@@ -166,7 +166,7 @@
}
if(ctx->left >= 0)
- ctx->left += rval.consumed; /* ?Substracted below! */
+ ctx->left += rval.consumed; /* ?Subtracted below! */
ADVANCE(rval.consumed);
NEXT_PHASE(ctx);
diff --git a/src/rspro/converter-sample.c b/src/rspro/converter-sample.c
index 2f74a80..6047273 100644
--- a/src/rspro/converter-sample.c
+++ b/src/rspro/converter-sample.c
@@ -390,7 +390,7 @@
/*
* Move the buffer content left N bits, possibly joining it with
- * preceeding content.
+ * preceding content.
*/
static void
buffer_shift_left(size_t offset, int bits) {
diff --git a/src/rspro/per_opentype.c b/src/rspro/per_opentype.c
index 8c42f8b..e697cbb 100644
--- a/src/rspro/per_opentype.c
+++ b/src/rspro/per_opentype.c
@@ -154,7 +154,7 @@
} else {
FREEMEM(buf);
/* rv.code could be RC_WMORE, nonsense in this context */
- rv.code = RC_FAIL; /* Noone would give us more */
+ rv.code = RC_FAIL; /* No one would give us more */
}
return rv;
diff --git a/src/simtrace2/apdu_dispatch.c b/src/simtrace2/apdu_dispatch.c
index 7c7ed01..b9dc3b7 100644
--- a/src/simtrace2/apdu_dispatch.c
+++ b/src/simtrace2/apdu_dispatch.c
@@ -59,7 +59,7 @@
}
/*! \brief input function for APDU segmentation
- * \param ac APDU context accross successive calls
+ * \param ac APDU context across successive calls
* \param[in] apdu_buf APDU inpud data buffer
* \param[in] apdu_len Length of apdu_buf
* \param[in] new_apdu Is this the beginning of a new APDU?
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/14820
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I8152acaccd33a4b646d56cba0748aeefa0c16b35
Gerrit-Change-Number: 14820
Gerrit-PatchSet: 1
Gerrit-Owner: roox <mardnh at gmx.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: tsaitgaist <kredon at sysmocom.de>
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190718/ce902045/attachment.htm>