Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: fix spelling #8496

Merged
merged 1 commit into from
Apr 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/README.fb_shutdown
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ you need to call fb_shutdown() from your program, you must use positive value fo
value is passed to callback_function, passed as an argument to fb_shutdown_callback(), and you can
take appropriate actions when writing callback function.

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

fb_shutdown_callback() setups callback function, which will be called during shutdown. It has 4
parameters - status vector, pointer to callback function, call mask and argumnet to be passed
parameters - status vector, pointer to callback function, call mask and argument to be passed
to callback function. Call mask can have the following values:
fb_shut_confirmation - callback function may return non-zero value to abort shutdown
fb_shut_preproviders - callback function will be called before shutting down engine
Expand Down
14 changes: 7 additions & 7 deletions src/burp/split/spit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ int main( int argc, char* argv[])
ret_cd = gen_multy_bakup_files(file_list, input_file_desc, file_num);
if (ret_cd == FB_FAILURE)
{
fprintf(stderr, "%s: progam fails to generate multi-volumn back-up files\n", prog_name);
fprintf(stderr, "%s: program fails to generate multi-volume back-up files\n", prog_name);
free_file_list(file_list);
return FB_FAILURE;
}
Expand All @@ -363,7 +363,7 @@ int main( int argc, char* argv[])
ret_cd = join_multy_bakup_files(file_list);
if (ret_cd == FB_FAILURE)
{
fprintf(stderr, "%s: progam fails to join multi-volumn back-up files\n", prog_name);
fprintf(stderr, "%s: program fails to join multi-volume back-up files\n", prog_name);
free_file_list(file_list);
return FB_FAILURE;
}
Expand Down Expand Up @@ -549,10 +549,10 @@ static int gen_multy_bakup_files(b_fil* file_list, FILE_DESC input_file_desc, SL
** multiple back-up files.
**
** allocates an 16K bytes I/O buffer
** intilializes header record common fields
** initializes header record common fields
** do forever
** walk through the backup file chain
** intilializes header record unique fields
** initializes header record unique fields
** open backup file
** writes out header record to backup file
** points to the next backup file in the chain
Expand All @@ -566,7 +566,7 @@ static int gen_multy_bakup_files(b_fil* file_list, FILE_DESC input_file_desc, SL
** and writes it out to the last backup file until no EOF.
** issues error message when disk space full condition is detected
** otherwise reads and writes to backup files util EOF
** if disk full cobdition is detected
** if disk full condition is detected
** flush the remaining data in the I/O buffer to subsequence
** backup files
** go back to normal read and write process util EOF
Expand Down Expand Up @@ -1045,7 +1045,7 @@ static int read_and_write_for_join(FILE_DESC output_fl_desc,
if (read_cnt != static_cast<int>(header_rec_len))
{
close_platf(input_fl_desc);
fprintf(stderr, "progam fails to read gsplit header record in back-up file%s\n", file_name);
fprintf(stderr, "program fails to read gsplit header record in back-up file%s\n", file_name);
return FB_FAILURE;
}

Expand Down Expand Up @@ -1358,7 +1358,7 @@ static int set_hdr_str(TEXT header_str[], const TEXT* in_str, SLONG pos, SLONG l
**
** Functional description:
**
** initialyze header string
** initialize header string
**
*********************************************************************
*/
Expand Down
2 changes: 1 addition & 1 deletion src/include/firebird/FirebirdInterface.idl
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ interface DtcStart : Disposable
{
void addAttachment(Status status, Attachment att);
void addWithTpb(Status status, Attachment att, uint length, const uchar* tpb);
Transaction start(Status status); // successfull call disposes interfaces
Transaction start(Status status); // successful call disposes interfaces
}

// Distributed transactions coordinator
Expand Down
2 changes: 1 addition & 1 deletion src/jrd/jrd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,7 @@ JTransaction* JAttachment::getTransactionInterface(CheckStatusWrapper* status, I

status->init();

// If validation is successfull, this means that this attachment and valid transaction
// If validation is successful, this means that this attachment and valid transaction
// use same provider. I.e. the following cast is safe.
JTransaction* jt = static_cast<JTransaction*>(tra->validate(status, this));
if (status->getState() & IStatus::STATE_ERRORS)
Expand Down
2 changes: 1 addition & 1 deletion src/jrd/sdw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ bool SDW_rollover_to_shadow(thread_db* tdbb, jrd_file* file, const bool inAst)
shadow->sdw_flags |= SDW_rollover;

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

bool start_conditional = false;
if (!inAst)
Expand Down
2 changes: 1 addition & 1 deletion src/remote/client/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10096,7 +10096,7 @@ Transaction* Attachment::remoteTransactionInterface(ITransaction* apiTra)
if (!valid)
return NULL;

// If validation is successfull, this means that this attachment and valid transaction
// If validation is successful, this means that this attachment and valid transaction
// use same provider. I.e. the following cast is safe.
return static_cast<Transaction*>(valid);
}
Expand Down
10 changes: 5 additions & 5 deletions src/remote/inet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class Select

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

// set first port to check for readyness
// set first port to check for readiness
void checkStart(RemPortPtr& port)
{
slct_main = port;
Expand All @@ -285,7 +285,7 @@ class Select
#endif
}

// get port to check for readyness
// get port to check for readiness
// assume port_mutex is locked
HandleState checkNext(RemPortPtr& port)
{
Expand Down Expand Up @@ -494,8 +494,8 @@ class Select
int slct_width;
fd_set slct_fdset;
#endif
RemPortPtr slct_main; // first port to check for readyness
RemPortPtr slct_port; // next port to check for readyness
RemPortPtr slct_main; // first port to check for readiness
RemPortPtr slct_port; // next port to check for readiness
#ifdef WIRE_COMPRESS_SUPPORT
RemPortPtr slct_zport; // port with some compressed data remaining in the buffer
#endif
Expand Down Expand Up @@ -1485,7 +1485,7 @@ static rem_port* aux_connect(rem_port* port, PACKET* packet)
*
* Functional description
* Try to establish an alternative connection. Somebody has already
* done a successfull connect request ("packet" contains the response).
* done a successful connect request ("packet" contains the response).
*
**************************************/

Expand Down
2 changes: 1 addition & 1 deletion src/remote/os/win32/xnet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ static rem_port* aux_connect(rem_port* port, PACKET* /*packet*/)
*
* Functional description
* Try to establish an alternative connection for handling events.
* Somebody has already done a successfull connect request.
* Somebody has already done a successful connect request.
* This uses the existing xcc for the parent port to more
* or less duplicate a new xcc for the new aux port pointing
* to the event stuff in the map.
Expand Down
4 changes: 2 additions & 2 deletions src/utilities/ibmgr/ibmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ const USHORT MSG_SSHUTFAIL = 27; // can not start server shutdown
const USHORT MSG_SHUTOK = 28; // server shutdown completed
const USHORT MSG_STARTERR = 29; // can not start server
const USHORT MSG_STARTFAIL = 30; // can not start server
const USHORT MSG_SRVUP = 31; // server is alreary running
const USHORT MSG_SRVUP = 31; // server is already running
const USHORT MSG_SRVUPOK = 32; // server has been successfully started
const USHORT MSG_NOPERM = 33; // no permissions to perform operation
const USHORT MSG_PRPOOLFAIL = 34; // Failed to print pool info
const USHORT MSG_PRPOOLOK = 35; // Print pool successfull
const USHORT MSG_PRPOOLOK = 35; // Print pool successful
const USHORT MSG_FLNMTOOLONG = 36; // File name too long


Expand Down
2 changes: 1 addition & 1 deletion src/utilities/ibmgr/srvrmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void SRVRMGR_msg_get( USHORT number, TEXT * msg)
rs = "Failed to print pool info";
break;
case MSG_PRPOOLOK:
rs = "Print pool Successfull";
rs = "Print pool Successful";
break;
case MSG_FLNMTOOLONG:
rs = "File name too long";
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/install/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ USHORT CLIENT_install(const TEXT * rootdir, USHORT client, bool sw_force, err_ha
// Success deleting the target, MoveFile should now succeed.
if (MoveFile(workfile, target) != 0)
{
// Successfull !
// Successful !
IncrementSharedCount(target, err_handler);
return FB_SUCCESS;
}
Expand Down
2 changes: 1 addition & 1 deletion src/yvalve/why.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6110,7 +6110,7 @@ YTransaction* YAttachment::getTransaction(ITransaction* tra)
if (!tra)
Arg::Gds(isc_bad_trans_handle).raise();

// If validation is successfull, this means that this attachment and valid transaction
// If validation is successful, this means that this attachment and valid transaction
// use same provider. I.e. the following cast is safe.
FbLocalStatus status;
YTransaction* yt = static_cast<YTransaction*>(tra->validate(&status, this));
Expand Down
Loading