Skip to content

Commit 618dbbd

Browse files
authored
misc: fix spelling (#8496)
General typo fixing in multiple file types
1 parent f54cd06 commit 618dbbd

File tree

12 files changed

+24
-24
lines changed

12 files changed

+24
-24
lines changed

doc/README.fb_shutdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ you need to call fb_shutdown() from your program, you must use positive value fo
3434
value is passed to callback_function, passed as an argument to fb_shutdown_callback(), and you can
3535
take appropriate actions when writing callback function.
3636

37-
Zero return value of fb_shutdown() means shutdown is successfull, non-zero means some errors took
37+
Zero return value of fb_shutdown() means shutdown is successful, non-zero means some errors took
3838
place during shutdown. You should consult firebird.log for more information.
3939

4040
fb_shutdown_callback() setups callback function, which will be called during shutdown. It has 4
41-
parameters - status vector, pointer to callback function, call mask and argumnet to be passed
41+
parameters - status vector, pointer to callback function, call mask and argument to be passed
4242
to callback function. Call mask can have the following values:
4343
fb_shut_confirmation - callback function may return non-zero value to abort shutdown
4444
fb_shut_preproviders - callback function will be called before shutting down engine

src/burp/split/spit.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ int main( int argc, char* argv[])
353353
ret_cd = gen_multy_bakup_files(file_list, input_file_desc, file_num);
354354
if (ret_cd == FB_FAILURE)
355355
{
356-
fprintf(stderr, "%s: progam fails to generate multi-volumn back-up files\n", prog_name);
356+
fprintf(stderr, "%s: program fails to generate multi-volume back-up files\n", prog_name);
357357
free_file_list(file_list);
358358
return FB_FAILURE;
359359
}
@@ -363,7 +363,7 @@ int main( int argc, char* argv[])
363363
ret_cd = join_multy_bakup_files(file_list);
364364
if (ret_cd == FB_FAILURE)
365365
{
366-
fprintf(stderr, "%s: progam fails to join multi-volumn back-up files\n", prog_name);
366+
fprintf(stderr, "%s: program fails to join multi-volume back-up files\n", prog_name);
367367
free_file_list(file_list);
368368
return FB_FAILURE;
369369
}
@@ -549,10 +549,10 @@ static int gen_multy_bakup_files(b_fil* file_list, FILE_DESC input_file_desc, SL
549549
** multiple back-up files.
550550
**
551551
** allocates an 16K bytes I/O buffer
552-
** intilializes header record common fields
552+
** initializes header record common fields
553553
** do forever
554554
** walk through the backup file chain
555-
** intilializes header record unique fields
555+
** initializes header record unique fields
556556
** open backup file
557557
** writes out header record to backup file
558558
** points to the next backup file in the chain
@@ -566,7 +566,7 @@ static int gen_multy_bakup_files(b_fil* file_list, FILE_DESC input_file_desc, SL
566566
** and writes it out to the last backup file until no EOF.
567567
** issues error message when disk space full condition is detected
568568
** otherwise reads and writes to backup files util EOF
569-
** if disk full cobdition is detected
569+
** if disk full condition is detected
570570
** flush the remaining data in the I/O buffer to subsequence
571571
** backup files
572572
** go back to normal read and write process util EOF
@@ -1045,7 +1045,7 @@ static int read_and_write_for_join(FILE_DESC output_fl_desc,
10451045
if (read_cnt != static_cast<int>(header_rec_len))
10461046
{
10471047
close_platf(input_fl_desc);
1048-
fprintf(stderr, "progam fails to read gsplit header record in back-up file%s\n", file_name);
1048+
fprintf(stderr, "program fails to read gsplit header record in back-up file%s\n", file_name);
10491049
return FB_FAILURE;
10501050
}
10511051

@@ -1358,7 +1358,7 @@ static int set_hdr_str(TEXT header_str[], const TEXT* in_str, SLONG pos, SLONG l
13581358
**
13591359
** Functional description:
13601360
**
1361-
** initialyze header string
1361+
** initialize header string
13621362
**
13631363
*********************************************************************
13641364
*/

src/include/firebird/FirebirdInterface.idl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ interface DtcStart : Disposable
764764
{
765765
void addAttachment(Status status, Attachment att);
766766
void addWithTpb(Status status, Attachment att, uint length, const uchar* tpb);
767-
Transaction start(Status status); // successfull call disposes interfaces
767+
Transaction start(Status status); // successful call disposes interfaces
768768
}
769769

770770
// Distributed transactions coordinator

src/jrd/jrd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1615,7 +1615,7 @@ JTransaction* JAttachment::getTransactionInterface(CheckStatusWrapper* status, I
16151615

16161616
status->init();
16171617

1618-
// If validation is successfull, this means that this attachment and valid transaction
1618+
// If validation is successful, this means that this attachment and valid transaction
16191619
// use same provider. I.e. the following cast is safe.
16201620
JTransaction* jt = static_cast<JTransaction*>(tra->validate(status, this));
16211621
if (status->getState() & IStatus::STATE_ERRORS)

src/jrd/sdw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ bool SDW_rollover_to_shadow(thread_db* tdbb, jrd_file* file, const bool inAst)
685685
shadow->sdw_flags |= SDW_rollover;
686686

687687
// check conditional does a meta data update - since we were
688-
// successfull updating LCK_data we will be the only one doing so
688+
// successful updating LCK_data we will be the only one doing so
689689

690690
bool start_conditional = false;
691691
if (!inAst)

src/remote/client/interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10096,7 +10096,7 @@ Transaction* Attachment::remoteTransactionInterface(ITransaction* apiTra)
1009610096
if (!valid)
1009710097
return NULL;
1009810098

10099-
// If validation is successfull, this means that this attachment and valid transaction
10099+
// If validation is successful, this means that this attachment and valid transaction
1010010100
// use same provider. I.e. the following cast is safe.
1010110101
return static_cast<Transaction*>(valid);
1010210102
}

src/remote/inet.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class Select
275275

276276
enum HandleState {SEL_BAD, SEL_DISCONNECTED, SEL_NO_DATA, SEL_READY};
277277

278-
// set first port to check for readyness
278+
// set first port to check for readiness
279279
void checkStart(RemPortPtr& port)
280280
{
281281
slct_main = port;
@@ -285,7 +285,7 @@ class Select
285285
#endif
286286
}
287287

288-
// get port to check for readyness
288+
// get port to check for readiness
289289
// assume port_mutex is locked
290290
HandleState checkNext(RemPortPtr& port)
291291
{
@@ -494,8 +494,8 @@ class Select
494494
int slct_width;
495495
fd_set slct_fdset;
496496
#endif
497-
RemPortPtr slct_main; // first port to check for readyness
498-
RemPortPtr slct_port; // next port to check for readyness
497+
RemPortPtr slct_main; // first port to check for readiness
498+
RemPortPtr slct_port; // next port to check for readiness
499499
#ifdef WIRE_COMPRESS_SUPPORT
500500
RemPortPtr slct_zport; // port with some compressed data remaining in the buffer
501501
#endif
@@ -1485,7 +1485,7 @@ static rem_port* aux_connect(rem_port* port, PACKET* packet)
14851485
*
14861486
* Functional description
14871487
* Try to establish an alternative connection. Somebody has already
1488-
* done a successfull connect request ("packet" contains the response).
1488+
* done a successful connect request ("packet" contains the response).
14891489
*
14901490
**************************************/
14911491

src/remote/os/win32/xnet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ static rem_port* aux_connect(rem_port* port, PACKET* /*packet*/)
731731
*
732732
* Functional description
733733
* Try to establish an alternative connection for handling events.
734-
* Somebody has already done a successfull connect request.
734+
* Somebody has already done a successful connect request.
735735
* This uses the existing xcc for the parent port to more
736736
* or less duplicate a new xcc for the new aux port pointing
737737
* to the event stuff in the map.

src/utilities/ibmgr/ibmgr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ const USHORT MSG_SSHUTFAIL = 27; // can not start server shutdown
122122
const USHORT MSG_SHUTOK = 28; // server shutdown completed
123123
const USHORT MSG_STARTERR = 29; // can not start server
124124
const USHORT MSG_STARTFAIL = 30; // can not start server
125-
const USHORT MSG_SRVUP = 31; // server is alreary running
125+
const USHORT MSG_SRVUP = 31; // server is already running
126126
const USHORT MSG_SRVUPOK = 32; // server has been successfully started
127127
const USHORT MSG_NOPERM = 33; // no permissions to perform operation
128128
const USHORT MSG_PRPOOLFAIL = 34; // Failed to print pool info
129-
const USHORT MSG_PRPOOLOK = 35; // Print pool successfull
129+
const USHORT MSG_PRPOOLOK = 35; // Print pool successful
130130
const USHORT MSG_FLNMTOOLONG = 36; // File name too long
131131

132132

src/utilities/ibmgr/srvrmgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void SRVRMGR_msg_get( USHORT number, TEXT * msg)
287287
rs = "Failed to print pool info";
288288
break;
289289
case MSG_PRPOOLOK:
290-
rs = "Print pool Successfull";
290+
rs = "Print pool Successful";
291291
break;
292292
case MSG_FLNMTOOLONG:
293293
rs = "File name too long";

0 commit comments

Comments
 (0)