Skip to content

Commit 2e8e790

Browse files
doc: correct orthography eg. β†’ e.g.
1 parent af452b8 commit 2e8e790

File tree

42 files changed

+81
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+81
-81
lines changed

β€Ždeps/icu-small/source/i18n/indiancal.hβ€Ž

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ U_NAMESPACE_BEGIN
5757
*
5858
* The Years
5959
* Years are counted in the Saka Era, which starts its year 0 in 78AD (by gregorian calendar).
60-
* So for eg. 9th June 2006 by Gregorian Calendar, is same as 19th of Jyaistha in 1928 of Saka
60+
* So for e.g. 9th June 2006 by Gregorian Calendar, is same as 19th of Jyaistha in 1928 of Saka
6161
* era by Indian National Calendar.
6262
* <p>
6363
* The Indian Calendar has only one allowable era: <code>Saka Era</code>. If the
@@ -75,28 +75,28 @@ class U_I18N_API IndianCalendar : public Calendar {
7575
* @internal
7676
*/
7777
enum EEras {
78-
/**
79-
* Constant for Chaitra, the 1st month of the Indian year.
78+
/**
79+
* Constant for Chaitra, the 1st month of the Indian year.
8080
*/
8181
CHAITRA,
8282

8383
/**
84-
* Constant for Vaisakha, the 2nd month of the Indian year.
84+
* Constant for Vaisakha, the 2nd month of the Indian year.
8585
*/
8686
VAISAKHA,
8787

8888
/**
89-
* Constant for Jyaistha, the 3rd month of the Indian year.
89+
* Constant for Jyaistha, the 3rd month of the Indian year.
9090
*/
9191
JYAISTHA,
9292

9393
/**
94-
* Constant for Asadha, the 4th month of the Indian year.
94+
* Constant for Asadha, the 4th month of the Indian year.
9595
*/
9696
ASADHA,
9797

9898
/**
99-
* Constant for Sravana, the 5th month of the Indian year.
99+
* Constant for Sravana, the 5th month of the Indian year.
100100
*/
101101
SRAVANA,
102102

@@ -105,33 +105,33 @@ class U_I18N_API IndianCalendar : public Calendar {
105105
*/
106106
BHADRA,
107107

108-
/**
109-
* Constant for the Asvina, the 7th month of the Indian year.
108+
/**
109+
* Constant for the Asvina, the 7th month of the Indian year.
110110
*/
111111
ASVINA,
112112

113113
/**
114-
* Constant for Kartika, the 8th month of the Indian year.
114+
* Constant for Kartika, the 8th month of the Indian year.
115115
*/
116116
KARTIKA,
117117

118118
/**
119-
* Constant for Agrahayana, the 9th month of the Indian year.
119+
* Constant for Agrahayana, the 9th month of the Indian year.
120120
*/
121121
AGRAHAYANA,
122122

123123
/**
124-
* Constant for Pausa, the 10th month of the Indian year.
124+
* Constant for Pausa, the 10th month of the Indian year.
125125
*/
126126
PAUSA,
127127

128128
/**
129-
* Constant for Magha, the 11th month of the Indian year.
129+
* Constant for Magha, the 11th month of the Indian year.
130130
*/
131131
MAGHA,
132132

133133
/**
134-
* Constant for Phalguna, the 12th month of the Indian year.
134+
* Constant for Phalguna, the 12th month of the Indian year.
135135
*/
136136
PHALGUNA
137137
};
@@ -173,7 +173,7 @@ class U_I18N_API IndianCalendar : public Calendar {
173173
* @internal
174174
*/
175175
//void setCivil(ECivil beCivil, UErrorCode &status);
176-
176+
177177
/**
178178
* Returns <code>true</code> if this object is using the fixed-cycle civil
179179
* calendar, or <code>false</code> if using the religious, astronomical
@@ -190,7 +190,7 @@ class U_I18N_API IndianCalendar : public Calendar {
190190

191191
private:
192192
/**
193-
* Determine whether a year is the gregorian year a leap year
193+
* Determine whether a year is the gregorian year a leap year
194194
*/
195195
//static UBool isGregorianLeap(int32_t year);
196196
//----------------------------------------------------------------------
@@ -201,7 +201,7 @@ class U_I18N_API IndianCalendar : public Calendar {
201201
* @internal
202202
*/
203203
virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const override;
204-
204+
205205
/**
206206
* Return the length (in days) of the given month.
207207
*
@@ -210,7 +210,7 @@ class U_I18N_API IndianCalendar : public Calendar {
210210
* @internal
211211
*/
212212
virtual int32_t handleGetMonthLength(int32_t extendedYear, int32_t month, UErrorCode& status) const override;
213-
213+
214214
/**
215215
* Return the number of days in the given Indian year
216216
* @internal
@@ -246,7 +246,7 @@ class U_I18N_API IndianCalendar : public Calendar {
246246
* <li>DAY_OF_MONTH
247247
* <li>DAY_OF_YEAR
248248
* <li>EXTENDED_YEAR</ul>
249-
*
249+
*
250250
* The DAY_OF_WEEK and DOW_LOCAL fields are already set when this
251251
* method is called. The getGregorianXxx() methods return Gregorian
252252
* calendar equivalents for the given Julian day.
@@ -255,7 +255,7 @@ class U_I18N_API IndianCalendar : public Calendar {
255255
virtual void handleComputeFields(int32_t julianDay, UErrorCode &status) override;
256256

257257
// UObject stuff
258-
public:
258+
public:
259259
/**
260260
* @return The class ID for this object. All objects of a given class have the
261261
* same class ID. Objects of other classes have different class IDs.

β€Ždeps/openssl/openssl/CHANGES.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12573,7 +12573,7 @@ OpenSSL 0.9.8.]
1257312573
*Steve Henson*
1257412574

1257512575
* Reduced header interdependencies by declaring more opaque objects in
12576-
ossl_typ.h. As a consequence, including some headers (eg. engine.h) will
12576+
ossl_typ.h. As a consequence, including some headers (e.g. engine.h) will
1257712577
give fewer recursive includes, which could break lazy source code - so
1257812578
this change is covered by the OPENSSL_NO_DEPRECATED symbol. As always,
1257912579
developers should define this symbol when building and using openssl to
@@ -12926,7 +12926,7 @@ OpenSSL 0.9.8.]
1292612926
*Lutz Jaenicke*
1292712927

1292812928
* Key-generation can now be implemented in RSA_METHOD, DSA_METHOD
12929-
and DH_METHOD (eg. by ENGINE implementations) to override the normal
12929+
and DH_METHOD (e.g. by ENGINE implementations) to override the normal
1293012930
software implementations. For DSA and DH, parameter generation can
1293112931
also be overridden by providing the appropriate method callbacks.
1293212932

@@ -14584,7 +14584,7 @@ OpenSSL 0.9.7.]
1458414584

1458514585
* As with "ERR", make it possible to replace the underlying "ex_data"
1458614586
functions. This change also alters the storage and management of global
14587-
ex_data state - it's now all inside ex_data.c and all "class" code (eg.
14587+
ex_data state - it's now all inside ex_data.c and all "class" code (e.g.
1458814588
RSA, BIO, SSL_CTX, etc) no longer stores its own STACKS and per-class
1458914589
index counters. The API functions that use this state have been changed
1459014590
to take a "class_index" rather than pointers to the class's local STACK
@@ -14922,7 +14922,7 @@ s-cbc 3624.96k 5258.21k 5530.91k 5624.30k 5628.26k
1492214922
that "executable" commands cannot return anything other than a boolean
1492314923
result and can only support numeric or string input, whereas some
1492414924
discoverable commands may only be for direct use through
14925-
ENGINE_ctrl(), eg. supporting the exchange of binary data, function
14925+
ENGINE_ctrl(), e.g. supporting the exchange of binary data, function
1492614926
pointers, or other custom uses. The "executable" commands are to
1492714927
support parameterisations of ENGINE behaviour that can be
1492814928
unambiguously defined by ENGINEs and used consistently across any

β€Ždeps/openssl/openssl/README-ENGINES.mdβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ user/admin the set of commands and parameter types a given ENGINE
5353
implementation supports, and for an application to directly feed string
5454
based input to those ENGINEs, in the form of name-value pairs. This is an
5555
extensible way for ENGINEs to define their own "configuration" mechanisms
56-
that are specific to a given ENGINE (eg. for a particular hardware
56+
that are specific to a given ENGINE (e.g. for a particular hardware
5757
device) but that should be consistent across *all* OpenSSL-based
5858
applications when they use that ENGINE. Work is in progress (or at least
5959
in planning) for supporting these control commands from the CONF (or
@@ -136,7 +136,7 @@ applications. This could be because existing compiled-in implementations
136136
have known problems and you wish to use a newer version with an existing
137137
application. It could equally be because the application (or OpenSSL
138138
library) you are using simply doesn't have support for the ENGINE you
139-
wish to use, and the ENGINE provider (eg. hardware vendor) is providing
139+
wish to use, and the ENGINE provider (e.g. hardware vendor) is providing
140140
you with a self-contained implementation in the form of a shared-library.
141141
The other use-case for "dynamic" is with applications that wish to
142142
maintain the smallest foot-print possible and so do not link in various
@@ -218,10 +218,10 @@ Applications that support the ENGINE API and more specifically, the
218218
such commands through to ENGINEs. As such, you would select "dynamic"
219219
as the ENGINE to use, and the parameters/commands you pass would
220220
control the *actual* ENGINE used. Each command is actually a name-value
221-
pair and the value can sometimes be omitted (eg. the "LOAD" command).
221+
pair and the value can sometimes be omitted (e.g. the "LOAD" command).
222222
Whilst the syntax demonstrated in "openssl engine" uses a colon to
223223
separate the command name from the value, applications may provide
224-
their own syntax for making that separation (eg. a win32 registry
224+
their own syntax for making that separation (e.g. a win32 registry
225225
key-value pair may be used by some applications). The reason for the
226226
"-pre" syntax in the "openssl engine" utility is that some commands
227227
might be issued to an ENGINE *after* it has been initialised for use.
@@ -285,7 +285,7 @@ ENGINE.
285285

286286
- add "-DENGINE_DYNAMIC_SUPPORT" to the command line switches,
287287
- change the output file from "hw_atalla.o" to something new,
288-
eg. "tmp_atalla.o"
288+
e.g. "tmp_atalla.o"
289289

290290
4. Link "tmp_atalla.o" into a shared-library using the top-level
291291
OpenSSL libraries to resolve any dependencies. The syntax for doing

β€Ždeps/openssl/openssl/apps/s_server.cβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3805,7 +3805,7 @@ static int generate_session_id(SSL *ssl, unsigned char *id,
38053805
return 0;
38063806
/*
38073807
* Prefix the session_id with the required prefix. NB: If our prefix
3808-
* is too long, clip it - but there will be worse effects anyway, eg.
3808+
* is too long, clip it - but there will be worse effects anyway, e.g.
38093809
* the server could only possibly create 1 session ID (ie. the
38103810
* prefix!) so all future session negotiations will fail due to
38113811
* conflicts.

β€Ždeps/openssl/openssl/crypto/engine/README.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ algorithm/mode pair are;
3434

3535
The latter is more generally used because it also allows ciphers/digests to be
3636
looked up based on other identifiers which can be useful for automatic cipher
37-
selection, eg. in SSL/TLS, or by user-controllable configuration.
37+
selection, e.g. in SSL/TLS, or by user-controllable configuration.
3838

3939
The important point about this is that EVP_CIPHER definitions and structures are
4040
passed around with impunity and there is no safe way, without requiring massive
@@ -62,7 +62,7 @@ they are available *because* they're part of a giant ENGINE called "openssl".
6262
Ie. all implementations *have* to come from an ENGINE, but we get round that by
6363
having a giant ENGINE with all the software support encapsulated. This creates
6464
linker hassles if nothing else - linking a 1-line application that calls 2 basic
65-
RSA functions (eg. "RSA_free(RSA_new());") will result in large quantities of
65+
RSA functions (e.g. "RSA_free(RSA_new());") will result in large quantities of
6666
ENGINE code being linked in *and* because of that DSA, DH, and RAND also. If we
6767
continue with this approach for EVP_CIPHER support (even if it *was* possible)
6868
we would lose our ability to link selectively by selectively loading certain
@@ -137,7 +137,7 @@ to a potentially NULL "ENGINE_PILE". An ENGINE_PILE is essentially a list of
137137
pointers to ENGINEs that implement that particular 'nid'. Each "pile" uses some
138138
caching tricks such that requests on that 'nid' will be cached and all future
139139
requests will return immediately (well, at least with minimal operation) unless
140-
a change is made to the pile, eg. perhaps an ENGINE was unloaded. The reason is
140+
a change is made to the pile, e.g. perhaps an ENGINE was unloaded. The reason is
141141
that an application could have support for 10 ENGINEs statically linked
142142
in, and the machine in question may not have any of the hardware those 10
143143
ENGINEs support. If each of those ENGINEs has a "des_cbc" implementation, we
@@ -187,7 +187,7 @@ registered an implementation, the code will simply return NULL and the tb_rsa.c
187187
state will be unchanged. Thus, no cleanup is required unless registration takes
188188
place. ENGINE_cleanup() will simply iterate across a list of registered cleanup
189189
callbacks calling each in turn, and will then internally delete its own storage
190-
(a STACK). When a cleanup callback is next registered (eg. if the cleanup() is
190+
(a STACK). When a cleanup callback is next registered (e.g. if the cleanup() is
191191
part of a graceful restart and the application wants to cleanup all state then
192192
start again), the internal STACK storage will be freshly allocated. This is much
193193
the same as the situation in the ENGINE_TABLE instantiations ... NULL is the

β€Ždeps/openssl/openssl/crypto/engine/eng_ctrl.cβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static int int_ctrl_helper(ENGINE *e, int cmd, long i, void *p,
6868
char *s = (char *)p;
6969
const ENGINE_CMD_DEFN *cdp;
7070

71-
/* Take care of the easy one first (eg. it requires no searches) */
71+
/* Take care of the easy one first (e.g. it requires no searches) */
7272
if (cmd == ENGINE_CTRL_GET_FIRST_CMD_TYPE) {
7373
if ((e->cmd_defns == NULL) || int_ctrl_cmd_is_null(e->cmd_defns))
7474
return 0;

β€Ždeps/openssl/openssl/crypto/engine/eng_dyn.cβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ void engine_load_dynamic_int(void)
268268
ENGINE_free(toadd);
269269
/*
270270
* If the "add" didn't work, it was probably a conflict because it was
271-
* already added (eg. someone calling ENGINE_load_blah then calling
271+
* already added (e.g. someone calling ENGINE_load_blah then calling
272272
* ENGINE_load_builtin_engines() perhaps).
273273
*/
274274
ERR_pop_to_mark();

β€Ždeps/openssl/openssl/crypto/engine/eng_lib.cβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int engine_free_util(ENGINE *e, int not_locked)
9090
engine_pkey_asn1_meths_free(e);
9191
/*
9292
* Give the ENGINE a chance to do any structural cleanup corresponding to
93-
* allocation it did in its constructor (eg. unload error strings)
93+
* allocation it did in its constructor (e.g. unload error strings)
9494
*/
9595
if (e->destroy)
9696
e->destroy(e);

β€Ždeps/openssl/openssl/crypto/engine/eng_openssl.cβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void engine_load_openssl_int(void)
160160
ENGINE_free(toadd);
161161
/*
162162
* If the "add" didn't work, it was probably a conflict because it was
163-
* already added (eg. someone calling ENGINE_load_blah then calling
163+
* already added (e.g. someone calling ENGINE_load_blah then calling
164164
* ENGINE_load_builtin_engines() perhaps).
165165
*/
166166
ERR_pop_to_mark();

β€Ždeps/openssl/openssl/crypto/engine/eng_rdrand.cβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void engine_load_rdrand_int(void)
112112
ENGINE_free(toadd);
113113
/*
114114
* If the "add" didn't work, it was probably a conflict because it was
115-
* already added (eg. someone calling ENGINE_load_blah then calling
115+
* already added (e.g. someone calling ENGINE_load_blah then calling
116116
* ENGINE_load_builtin_engines() perhaps).
117117
*/
118118
ERR_pop_to_mark();

0 commit comments

Comments
Β (0)