Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,7 @@ ordering of the response Note IDs in the table. The OPEN_RESPONSE_ID_TABLE flag
must be specified when the note is opened in order to obtain a valid ID Table
handle. If the OPEN_RESPONSE_ID_TABLE flag is not specified when the note is
opened, NULLHANDLE will be returned as the value of the ID Table handle. Do not
explicityly deallocate the ID Table. It will be deallocated by NSFNoteClose().
explicitly deallocate the ID Table. It will be deallocated by NSFNoteClose().
* added-to-file date and time?
In file creation date and time
* object store database handle?
Expand Down
4 changes: 2 additions & 2 deletions include/libnsfdb/error.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ enum LIBNSFDB_ARGUMENT_ERROR
*/
LIBNSFDB_ARGUMENT_ERROR_UNSUPPORTED_VALUE = 8,

/* The argument contains a value that conficts with another argument
/* The argument contains a value that conflicts with another argument
*/
LIBNSFDB_ARGUMENT_ERROR_CONFLICTING_VALUE = 9
};
Expand Down Expand Up @@ -214,7 +214,7 @@ enum LIBNSFDB_OUTPUT_ERROR
{
LIBNSFDB_OUTPUT_ERROR_GENERIC = 0,

/* There is insuficient space to write the output
/* There is insufficient space to write the output
*/
LIBNSFDB_OUTPUT_ERROR_INSUFFICIENT_SPACE = 1
};
Expand Down
4 changes: 2 additions & 2 deletions libnsfdb/libnsfdb_io_handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,7 +1033,7 @@ int libnsfdb_io_handle_read_database_header(
value_32bit );

libcnotify_printf(
"%s: extention granularity\t\t\t\t: %" PRIu32 "\n",
"%s: extension granularity\t\t\t\t: %" PRIu32 "\n",
function,
value_32bit );

Expand Down Expand Up @@ -2374,7 +2374,7 @@ int libnsfdb_io_handle_read_database_header(
error,
LIBCERROR_ERROR_DOMAIN_RUNTIME,
LIBCERROR_RUNTIME_ERROR_APPEND_FAILED,
"%s: unable to append segment ot RRV bucket vector.",
"%s: unable to append segment of RRV bucket vector.",
function );

goto on_error;
Expand Down
2 changes: 1 addition & 1 deletion libnsfdb/libnsfdb_rrv_bucket_descriptor.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Record Relocation Vector (RRV) bucket decriptor functions
* Record Relocation Vector (RRV) bucket descriptor functions
*
* Copyright (C) 2010-2024, Joachim Metz <joachim.metz@gmail.com>
*
Expand Down
2 changes: 1 addition & 1 deletion libnsfdb/libnsfdb_rrv_bucket_descriptor.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Record Relocation Vector (RRV) bucket decriptor functions
* Record Relocation Vector (RRV) bucket descriptor functions
*
* Copyright (C) 2010-2024, Joachim Metz <joachim.metz@gmail.com>
*
Expand Down
2 changes: 1 addition & 1 deletion libnsfdb/nsfdb_database_header.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ struct nsfdb_database_information
*/
uint8_t allocation_granularity[ 2 ];

/* The extention granularity
/* The extension granularity
* Consists of 4 bytes
*/
uint8_t extention_granularity[ 4 ];
Expand Down
2 changes: 1 addition & 1 deletion nsfdbtools/export_handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ int export_handle_open_input(
}

/* Closes the input
* Returns the 0 if succesful or -1 on error
* Returns the 0 if successful or -1 on error
*/
int export_handle_close_input(
export_handle_t *export_handle,
Expand Down
2 changes: 1 addition & 1 deletion nsfdbtools/info_handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ int info_handle_open(
}

/* Closes the info handle
* Returns the 0 if succesful or -1 on error
* Returns the 0 if successful or -1 on error
*/
int info_handle_close(
info_handle_t *info_handle,
Expand Down
2 changes: 1 addition & 1 deletion nsfdbtools/log_handle.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ int log_handle_open(
}

/* Closes the log handle
* Returns the 0 if succesful or -1 on error
* Returns the 0 if successful or -1 on error
*/
int log_handle_close(
log_handle_t *log_handle,
Expand Down
2 changes: 1 addition & 1 deletion synclibs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ ForEach (${LocalLib} in ${LocalLibs})
$Output = Invoke-Expression -Command "& '${WinFlex}' -Cf ${DirectoryElement} 2>&1"
Write-Host ${Output}

# Moving manually sicne win_flex -o <filename> does not provide the expected behavior.
# Moving manually since win_flex -o <filename> does not provide the expected behavior.
Move-Item "lex.yy.c" ${OutputFile} -force
}

Expand Down
8 changes: 4 additions & 4 deletions tests/nsfdb_test_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ int nsfdb_test_memset_attempts_before_fail = -1;
int nsfdb_test_realloc_attempts_before_fail = -1;

/* Custom malloc for testing memory error cases
* Note this function might fail if compiled with optimation
* Note this function might fail if compiled with optimization
* Returns a pointer to newly allocated data or NULL
*/
void *malloc(
Expand Down Expand Up @@ -77,7 +77,7 @@ void *malloc(
}

/* Custom memcpy for testing memory error cases
* Note this function might fail if compiled with optimation and as a shared libary
* Note this function might fail if compiled with optimization and as a shared library
* Returns a pointer to newly allocated data or NULL
*/
void *memcpy(
Expand Down Expand Up @@ -110,7 +110,7 @@ void *memcpy(
}

/* Custom memset for testing memory error cases
* Note this function might fail if compiled with optimation and as a shared libary
* Note this function might fail if compiled with optimization and as a shared library
* Returns a pointer to newly allocated data or NULL
*/
void *memset(
Expand Down Expand Up @@ -143,7 +143,7 @@ void *memset(
}

/* Custom realloc for testing memory error cases
* Note this function might fail if compiled with optimation
* Note this function might fail if compiled with optimization
* Returns a pointer to reallocated data or NULL
*/
void *realloc(
Expand Down
6 changes: 3 additions & 3 deletions tests/test_runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ read_test_data_option_file()
# an array containing the arguments for the test executable
#
# Returns:
# an integer containg the exit status of the test executable
# an integer containing the exit status of the test executable
#
run_test_with_arguments()
{
Expand Down Expand Up @@ -736,7 +736,7 @@ run_test_with_arguments()
# an array containing the arguments for the test executable
#
# Returns:
# an integer containg the exit status of the test executable
# an integer containing the exit status of the test executable
#
run_test_with_input_and_arguments()
{
Expand Down Expand Up @@ -1047,7 +1047,7 @@ run_test_with_input_and_arguments()
# an array containing the arguments for the test executable
#
# Returns:
# an integer containg the exit status of the test executable
# an integer containing the exit status of the test executable
#
run_test_on_input_file()
{
Expand Down