From 549a4a82e0b918809e718ea966961f3332b6d5c5 Mon Sep 17 00:00:00 2001 From: Mathieu Parent Date: Thu, 29 Aug 2019 22:39:39 +0200 Subject: [PATCH] Spelling fixes s/preceeding/preceding/ Signed-off-by: Mathieu Parent Reviewed-by: Andrew Bartlett Reviewed-by: Gary Lockyer --- docs-xml/Samba-Developers-Guide/CodingSuggestions.xml | 2 +- docs-xml/Samba-Developers-Guide/parsing.xml | 2 +- lib/util/debug.c | 2 +- source3/registry/regfio.c | 2 +- source3/smbd/filename.c | 2 +- source4/dsdb/samdb/ldb_modules/objectclass_attrs.c | 2 +- source4/selftest/win/VMHost.pm | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs-xml/Samba-Developers-Guide/CodingSuggestions.xml b/docs-xml/Samba-Developers-Guide/CodingSuggestions.xml index 14044ca1bf7..4adb8cb09b7 100644 --- a/docs-xml/Samba-Developers-Guide/CodingSuggestions.xml +++ b/docs-xml/Samba-Developers-Guide/CodingSuggestions.xml @@ -232,7 +232,7 @@ Here are some other suggestions: The suggestions above are simply that, suggestions, but the information may -help in reducing the routine rework done on new code. The preceeding list +help in reducing the routine rework done on new code. The preceding list is expected to change routinely as new support routines and macros are added. diff --git a/docs-xml/Samba-Developers-Guide/parsing.xml b/docs-xml/Samba-Developers-Guide/parsing.xml index e0d5fe385b6..c6daf350e7c 100644 --- a/docs-xml/Samba-Developers-Guide/parsing.xml +++ b/docs-xml/Samba-Developers-Guide/parsing.xml @@ -122,7 +122,7 @@ analyzer. For example: Note that there are five spaces following the word 'string', representing the one space between 'string' and '\\' in the top -line, plus the four preceeding the word 'with' in the second line. +line, plus the four preceding the word 'with' in the second line. (Yes, I'm counting the indentation.) diff --git a/lib/util/debug.c b/lib/util/debug.c index c42022ec9bb..6f081d45110 100644 --- a/lib/util/debug.c +++ b/lib/util/debug.c @@ -857,7 +857,7 @@ static bool debug_parse_param(char *param) /**************************************************************************** Parse the debug levels from smb.conf. Example debug level string: 3 tdb:5 printdrivers:7 - Note: the 1st param has no "name:" preceeding it. + Note: the 1st param has no "name:" preceding it. ****************************************************************************/ bool debug_parse_levels(const char *params_str) diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c index 60c865d4d22..4c6271cda7a 100644 --- a/source3/registry/regfio.c +++ b/source3/registry/regfio.c @@ -519,7 +519,7 @@ static REGF_HBIN* read_hbin_block( REGF_FILE *file, off_t offset ) previous 4 bytes contains the amount of free space remaining in the hbin block. */ - /* remember that the record_size is in the 4 bytes preceeding the record itself */ + /* remember that the record_size is in the 4 bytes preceding the record itself */ if ( !prs_set_offset( &hbin->ps, file->data_offset+HBIN_HDR_SIZE-sizeof(uint32_t) ) ) return NULL; diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 5a3b8cc2ebf..32e5835e676 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -287,7 +287,7 @@ static NTSTATUS rearrange_snapshot_path(struct smb_filename *smb_fname, if (*endp == '\0') { /* * @GMT-token was at end of path. - * Remove any preceeding '/' + * Remove any preceding '/' */ if (startp > smb_fname->base_name && startp[-1] == '/') { startp--; diff --git a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c index 67c93ca08d8..e5f86d260f4 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c @@ -347,7 +347,7 @@ static int attr_handler2(struct oc_context *ac) return ldb_operr(ldb); } - /* We rely here on the preceeding "objectclass" LDB module which did + /* We rely here on the preceding "objectclass" LDB module which did * already fix up the objectclass list (inheritance, order...). */ oc_element = ldb_msg_find_element(ac->search_res->message, "objectClass"); diff --git a/source4/selftest/win/VMHost.pm b/source4/selftest/win/VMHost.pm index 1f02f21c284..37d721e9d0b 100644 --- a/source4/selftest/win/VMHost.pm +++ b/source4/selftest/win/VMHost.pm @@ -298,7 +298,7 @@ use VMware::Vix::API::Constants; } } } else { - # Strip if preceeding path from $src_path. + # Strip if preceding path from $src_path. my $src_file = substr($src_path, ($idx + 1), $len); my $dest_path = $dest_dir . $src_file;