Last of the spelling fixed
This commit is contained in:
@@ -2156,7 +2156,7 @@ _tt_garbage_collect_1(void * /*NOTUSED*/,
|
||||
|
||||
//
|
||||
// Collect the garbage and delete old sessions in
|
||||
// a seperate thread. As soon as the thread is started
|
||||
// a separate thread. As soon as the thread is started
|
||||
// this function returns and the dbserver is again
|
||||
// processing user requests.
|
||||
id = _tt_run_garbage_collect(OPT_GARBAGE_IN_PARALLEL);
|
||||
|
||||
@@ -502,7 +502,7 @@ _tt_oid_accessp(int _isfd, char *rec, int mode)
|
||||
/* check access request against permissions */
|
||||
switch (category) {
|
||||
case DM_USER:
|
||||
// The owner is allowed all priviledges
|
||||
// The owner is allowed all privileges
|
||||
return 1;
|
||||
/* this left here in case we want to check someday
|
||||
* switch (mode) {
|
||||
|
||||
@@ -442,7 +442,7 @@ edit_hilite_obj(msg)
|
||||
|
||||
/*
|
||||
* Make a ToolTalk spec out of the selected text in this textpane. Once
|
||||
* the spec is succesfully created and written to a database, wrap the
|
||||
* the spec is successfully created and written to a database, wrap the
|
||||
* text with C-style comments in order to delimit the object and send out
|
||||
* a notification that an object has been created in this file.
|
||||
*/
|
||||
|
||||
@@ -64,7 +64,7 @@ _Tt_c_mp::
|
||||
//
|
||||
// Returns:
|
||||
// TT_OK
|
||||
// TT_ERR_NOMP - the initial session could not be initialised.
|
||||
// TT_ERR_NOMP - the initial session could not be initialized.
|
||||
|
||||
Tt_status _Tt_c_mp::
|
||||
c_init()
|
||||
|
||||
@@ -181,7 +181,7 @@ init(_Tt_string dt_handle, _Tt_dt_type /* t */)
|
||||
}
|
||||
|
||||
|
||||
// I/O error handler. Longjmp back to before the error occured.
|
||||
// I/O error handler. Longjmp back to before the error occurred.
|
||||
int _Tt_desktop::
|
||||
io_error_proc(void *)
|
||||
{
|
||||
|
||||
@@ -144,7 +144,7 @@
|
||||
* OPT_AUTOMOUNT_PATH_FIX - set for systems with autmounters that do
|
||||
* not treat /tmp_mnt/nfs/... the same as /nfs/... in terms of which
|
||||
* can tickle the automounter. For many systems, a mount can only be
|
||||
* tickled into existance using /nfs/... This is bad since calls to
|
||||
* tickled into existence using /nfs/... This is bad since calls to
|
||||
* say realpath() will hand back /tmp_mnt/nfs/... which is for all
|
||||
* practical purposes temporary.
|
||||
*
|
||||
@@ -174,7 +174,7 @@
|
||||
* files prior to exiting.
|
||||
*
|
||||
* OPT_GARBAGE_IN_PARALLEL - If TRUE, enables garbage collection
|
||||
* in a seperate thread (or process). If FALSE
|
||||
* in a separate thread (or process). If FALSE
|
||||
* perform garbage collection in the same
|
||||
* thread (or process).
|
||||
*/
|
||||
|
||||
@@ -506,7 +506,7 @@ entry(const char *argskey, _Tt_entry_pt func, ...)
|
||||
} break;
|
||||
|
||||
// this is an index for a particular argument
|
||||
// We have a seperate case for this in order to
|
||||
// We have a separate case for this in order to
|
||||
// factor out the test below.
|
||||
case ARG_INTEGER: {
|
||||
int arg_index;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
/*
|
||||
* Attempts to find the best path to a dynamic library named by libname.
|
||||
* If succesful then 1 is returned and path will be set to the path to
|
||||
* If successful then 1 is returned and path will be set to the path to
|
||||
* the library. Otherwise 0 is returned. This function will use the
|
||||
* appropiate combination of LD_LIBRARY_PATH and the required hardcoded
|
||||
* paths to perform the search.
|
||||
|
||||
@@ -59,7 +59,7 @@ static void remove_from_chain(); /* used by _flrec_wrrec() */
|
||||
* Output params:
|
||||
* recnum record number of the new record
|
||||
*
|
||||
* Returns 0 if record was written succesfully, or -1 if any error.
|
||||
* Returns 0 if record was written successfully, or -1 if any error.
|
||||
*/
|
||||
|
||||
/*ARGSUSED*/
|
||||
@@ -127,7 +127,7 @@ _flrec_write(fcb, record, recnum, reclen)
|
||||
* Output params:
|
||||
* record record buffer is filled with data
|
||||
*
|
||||
* Returns 0 if record was read succesfully, or error code if any error.
|
||||
* Returns 0 if record was read successfully, or error code if any error.
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -191,7 +191,7 @@ _fl_getpos(fcb, recnum)
|
||||
* record new record
|
||||
* int reclen (NOT USED)
|
||||
*
|
||||
* Returns 0 if record was rewritten succesfully, or error code if any error.
|
||||
* Returns 0 if record was rewritten successfully, or error code if any error.
|
||||
*/
|
||||
|
||||
/*ARGSUSED*/
|
||||
@@ -238,7 +238,7 @@ _flrec_rewrite(fcb, record, recnum, reclen)
|
||||
* FCB File Control Block
|
||||
* recnum record number of the record
|
||||
*
|
||||
* Returns 0 if record was rewritten succesfully, or error code if any error.
|
||||
* Returns 0 if record was rewritten successfully, or error code if any error.
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -293,7 +293,7 @@ _flrec_delete(fcb, recnum)
|
||||
* record record buffer
|
||||
* int reclen (NOT USED)
|
||||
*
|
||||
* Returns 0 if record was written succesfully, or error code if any error.
|
||||
* Returns 0 if record was written successfully, or error code if any error.
|
||||
*
|
||||
* Note that _flrec_wrrec() commits updates and syncs the FCB to avoid
|
||||
* buffer pool overflow.
|
||||
|
||||
@@ -159,7 +159,7 @@ isrepair(isfname, verbose)
|
||||
maxreclen = ldint(cntlpg + CP_MAXRECLEN_OFF);
|
||||
|
||||
/*
|
||||
* Check for maxreclen field value of -1. This could have occured due to
|
||||
* Check for maxreclen field value of -1. This could have occurred due to
|
||||
* ISMAXRECLEN being incorrectly set to 65535 in an earlier version. If
|
||||
* this field is -1 and it's a variable length record, reset to the new
|
||||
* value of MAXRECLEN. This means that this field will be repaired when
|
||||
|
||||
@@ -62,7 +62,7 @@ static _istail_read();
|
||||
* Output params:
|
||||
* recnum record number of the new record
|
||||
*
|
||||
* Returns 0 if record was written succesfully, or -1 if any error.
|
||||
* Returns 0 if record was written successfully, or -1 if any error.
|
||||
*/
|
||||
|
||||
/*ARGSUSED*/
|
||||
@@ -137,7 +137,7 @@ _vlrec_write(fcb, record, recnum, reclen)
|
||||
* Output params:
|
||||
* record record buffer is filled with data
|
||||
*
|
||||
* Returns 0 if record was read succesfully, or error code if any error.
|
||||
* Returns 0 if record was read successfully, or error code if any error.
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -211,7 +211,7 @@ _vl_getpos(fcb, recnum)
|
||||
* record new record
|
||||
* int reclen (NOT USED)
|
||||
*
|
||||
* Returns 0 if record was rewritten succesfully, or error code if any error.
|
||||
* Returns 0 if record was rewritten successfully, or error code if any error.
|
||||
*/
|
||||
|
||||
/*ARGSUSED*/
|
||||
@@ -268,7 +268,7 @@ _vlrec_rewrite(fcb, record, recnum, reclen)
|
||||
* FCB File Control Block
|
||||
* recnum record number of the record
|
||||
*
|
||||
* Returns 0 if record was rewritten succesfully, or error code if any error.
|
||||
* Returns 0 if record was rewritten successfully, or error code if any error.
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -330,7 +330,7 @@ _vlrec_delete(fcb, recnum)
|
||||
* record record buffer
|
||||
* int reclen (NOT USED)
|
||||
*
|
||||
* Returns 0 if record was written succesfully, or error code if any error.
|
||||
* Returns 0 if record was written successfully, or error code if any error.
|
||||
*
|
||||
* Note that _vlrec_wrrec() commits updates and syncs the FCB to avoid
|
||||
* buffer pool overflow.
|
||||
|
||||
@@ -63,7 +63,7 @@ _Tt_s_message()
|
||||
// The active message count is just to enforce the limit
|
||||
// on the number of active messages. Doing this in the
|
||||
// constructor was expedient, but because we construct
|
||||
// a message before _tt_mp is initialised, we have
|
||||
// a message before _tt_mp is initialized, we have
|
||||
// to omit it in that case.
|
||||
if (_tt_s_mp) {
|
||||
_tt_s_mp->active_messages++;
|
||||
|
||||
@@ -1303,7 +1303,7 @@ set_timeout_for_message(const _Tt_message &m)
|
||||
|
||||
|
||||
//
|
||||
// Called by _Tt_mp::service_timeout when a timeout event happend with
|
||||
// Called by _Tt_mp::service_timeout when a timeout event happened with
|
||||
// the given timeout. This function checks to see whether the timeout is
|
||||
// equal to or greater than the internal timeout (which is only set if we
|
||||
// signalled the client procid for a new message). If the timeout exceeds
|
||||
|
||||
Reference in New Issue
Block a user