diff --git a/doc/README.interfaces.html b/doc/README.interfaces.html
index ec379e09b8..015857d05d 100644
--- a/doc/README.interfaces.html
+++ b/doc/README.interfaces.html
@@ -126,10 +126,10 @@ An ability to upgrade interface version places one important limit on
implementation of interfaces: it should not contain virtual functions
(including virtual destructor) except those defined in interface
definition. This is because interface upgrade process modifies table
-of virtual functions, and for successful upgrade number of functions
-in interface implementation should exactly match one in it's
+of virtual functions, and for successful upgrade, number of functions
+in interface implementation should exactly match one in its
definition. Pointer to functions, missing in interface definition but
-added in it's implementation, may be overwritten
+added in its implementation, may be overwritten
with a pointer to function used to upgrade interface.
diff --git a/doc/README.services_extension b/doc/README.services_extension
index 21d998e0a7..296e0f67b3 100644
--- a/doc/README.services_extension
+++ b/doc/README.services_extension
@@ -197,7 +197,7 @@ found in source code of fbsvcmgr.
(Alex Peshkov, peshkoff@mail.ru, 2013)
If one wants to use services API to access database which is configured to use
-non-default security database new SPB item isc_spb_expected_db should be used
+non-default security database, new SPB item isc_spb_expected_db should be used
when attaching to services manager. Value of this item is a database which is
expected to be accessed.
diff --git a/src/auth/SecureRemotePassword/srp.cpp b/src/auth/SecureRemotePassword/srp.cpp
index 5942033b5b..bd69fc0569 100644
--- a/src/auth/SecureRemotePassword/srp.cpp
+++ b/src/auth/SecureRemotePassword/srp.cpp
@@ -216,7 +216,7 @@ void dumpIt(const char* name, const Firebird::string& str)
void dumpBin(const char* name, const Firebird::string& str)
{
fprintf(stderr, "%s (%ld)\n", name, str.length());
- for (size_t x=0; xlockGranted)
return true;
- (void)wakeup;
+ (void) wakeup;
//if (!wakeup)
// stalled(thread);
diff --git a/src/common/common.h b/src/common/common.h
index 1096047552..223cac2269 100644
--- a/src/common/common.h
+++ b/src/common/common.h
@@ -890,7 +890,7 @@ void GDS_breakpoint(int);
#define FB_FINAL
#endif
-#define FB_UNUSED(value) do { if(value); } while (false)
+#define FB_UNUSED(value) do { if (value); } while (false)
// 30 Dec 2002. Nickolay Samofatov
// This needs to be checked for all supported platforms
diff --git a/src/common/config/os/darwin/config_root.cpp b/src/common/config/os/darwin/config_root.cpp
index c6032e5fd5..2656412c17 100644
--- a/src/common/config/os/darwin/config_root.cpp
+++ b/src/common/config/os/darwin/config_root.cpp
@@ -82,7 +82,7 @@ static string getExecutablePath()
_NSGetExecutablePath(file_buff, &bufsize);
char canonic[PATH_MAX];
if (!realpath(file_buff, canonic))
- Firebird::system_call_failed::raise("realpath");
+ Firebird::system_call_failed::raise("realpath");
string bin_dir = canonic;
// get rid of the filename
int index = bin_dir.rfind(PathUtils::dir_sep);
@@ -93,7 +93,7 @@ static string getExecutablePath()
return dir;
}
-
+
void ConfigRoot::osConfigRoot()
{
// Attempt to locate the Firebird.framework bundle
@@ -110,7 +110,7 @@ void ConfigRoot::osConfigRoot()
}
// As a last resort get it from the default install directory
- root_dir = FB_PREFIX;
+ root_dir = FB_PREFIX;
}
@@ -130,5 +130,5 @@ void ConfigRoot::osConfigInstallDir()
}
// As a last resort get it from the default install directory
- install_dir = FB_PREFIX;
+ install_dir = FB_PREFIX;
}
diff --git a/src/iscguard/iscguard.cpp b/src/iscguard/iscguard.cpp
index 33c8c1e1af..bb35ab91c6 100644
--- a/src/iscguard/iscguard.cpp
+++ b/src/iscguard/iscguard.cpp
@@ -1151,7 +1151,7 @@ static void write_log(int log_action, const char* buff)
FORMAT_MESSAGE_FROM_STRING,
tmp_buff, 0, 0, (LPTSTR) &lpMsgBuf, 0,
reinterpret_cast(act_buff));
-
+
const int len = MIN(BUFF_SIZE-1, strlen(lpMsgBuf) - 1);
strncpy(act_buff[0], lpMsgBuf, len);
act_buff[0][len] = 0;
diff --git a/src/jrd/met.epp b/src/jrd/met.epp
index 75b79fe250..73cfb6cbac 100644
--- a/src/jrd/met.epp
+++ b/src/jrd/met.epp
@@ -1011,7 +1011,7 @@ Format* MET_current(thread_db* tdbb, jrd_rel* relation)
if (!(relation->rel_flags & REL_scanned))
{
AutoCacheRequest request(tdbb, irq_l_curr_format, IRQ_REQUESTS);
-
+
FOR(REQUEST_HANDLE request)
REL IN RDB$RELATIONS WITH REL.RDB$RELATION_ID EQ relation->rel_id
{
@@ -1024,7 +1024,7 @@ Format* MET_current(thread_db* tdbb, jrd_rel* relation)
// However, system tables have zero as their initial format and they don't have
// any related records in RDB$FORMATS, instead their rel_formats[0] is initialized
// directly (see ini.epp). Every other case of zero format number found for an already
- // scanned table must be catched here and investigated.
+ // scanned table must be catched here and investigated.
fb_assert(relation->rel_current_fmt || relation->isSystem());
relation->rel_current_format = MET_format(tdbb, relation, relation->rel_current_fmt);
diff --git a/src/jrd/tra.cpp b/src/jrd/tra.cpp
index 9d81bac07b..a4f95c4fcc 100644
--- a/src/jrd/tra.cpp
+++ b/src/jrd/tra.cpp
@@ -1881,7 +1881,7 @@ static TraNumber bump_transaction_id(thread_db* tdbb, WIN* window)
return number;
// If this is the first transaction on a TIP, allocate the TIP now.
- // Note, first TIP page is created with the database itself,
+ // Note, first TIP page is created with the database itself,
// see JProvider::createDatabase.
const bool new_tip = ((number % dbb->dbb_page_manager.transPerTIP) == 0);
@@ -1933,7 +1933,7 @@ static header_page* bump_transaction_id(thread_db* tdbb, WIN* window)
const TraNumber number = header->hdr_next_transaction + 1;
// If this is the first transaction on a TIP, allocate the TIP now.
- // Note, first TIP page is created with the database itself,
+ // Note, first TIP page is created with the database itself,
// see JProvider::createDatabase.
const bool new_tip = ((number % dbb->dbb_page_manager.transPerTIP) == 0);
@@ -2527,7 +2527,7 @@ static void transaction_flush(thread_db* tdbb, USHORT flush_flag, TraNumber tra_
*
* Functional description
* Flush pages modified by user and\or system transaction.
- * Note, flush of user transaction also flushed pages,
+ * Note, flush of user transaction also flushed pages,
* changed by system transaction.
*
**************************************/
diff --git a/src/remote/server/server.cpp b/src/remote/server/server.cpp
index 32707fa10f..a9ade9061d 100644
--- a/src/remote/server/server.cpp
+++ b/src/remote/server/server.cpp
@@ -1747,7 +1747,7 @@ static bool accept_connection(rem_port* port, P_CNCT* connect, PACKET* send)
{
AuthServerPlugins* const plugins = port->port_srv_auth_block->plugins;
NoCaseString clientPluginName(port->port_srv_auth_block->getPluginName());
- // If there is plugin matching client's one it will be
+ // If there is plugin matching client's one it will be
HANDSHAKE_DEBUG(fprintf(stderr, "Srv: accept_connection: client plugin='%s' server='%s'\n",
clientPluginName.c_str(), plugins->name()));
diff --git a/src/yvalve/PluginManager.cpp b/src/yvalve/PluginManager.cpp
index 177ea313f8..38bb115e04 100644
--- a/src/yvalve/PluginManager.cpp
+++ b/src/yvalve/PluginManager.cpp
@@ -543,7 +543,7 @@ namespace
~FactoryParameter()
{
#ifdef DEBUG_PLUGINS
- fprintf(stderr, "~FactoryParameter places configuredPlugin %s in unload query for %d seconds\n",
+ fprintf(stderr, "~FactoryParameter places configuredPlugin %s in unload query for %d seconds\n",
configuredPlugin->getPlugName(), configuredPlugin->getReleaseDelay() / 1000000);
#endif
TimerInterfacePtr()->start(configuredPlugin, configuredPlugin->getReleaseDelay());