From: Brad King Date: Mon, 2 May 2016 14:56:28 +0000 (-0400) Subject: Fix spelling typos in comments X-Git-Tag: v3.2.1~31^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F698%2Fhead;p=thirdparty%2Flibarchive.git Fix spelling typos in comments The Debian package checker tool (lintian) detected a few typos. Reported-by: Felix Geyer --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b9703904..68e94a6ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -365,7 +365,7 @@ IF(DEFINED __GNUWIN32PATH AND EXISTS "${__GNUWIN32PATH}") # e.g. # cmake -DCMAKE_PREFIX_PATH= # - # If compiling error occured in zconf.h, You may need patch to zconf.h. + # If compiling error occurred in zconf.h, You may need patch to zconf.h. #--- zconf.h.orig 2005-07-21 00:40:26.000000000 #+++ zconf.h 2009-01-19 11:39:10.093750000 #@@ -286,7 +286,7 @@ diff --git a/libarchive/archive_read_disk_windows.c b/libarchive/archive_read_disk_windows.c index 53bd4b8bd..566d264e9 100644 --- a/libarchive/archive_read_disk_windows.c +++ b/libarchive/archive_read_disk_windows.c @@ -1586,7 +1586,7 @@ tree_reopen(struct tree *t, const wchar_t *path, int restore_time) t->stack->flags = needsFirstVisit; /* * Debug flag for Direct IO(No buffering) or Async IO. - * Those dependant on environment variable switches + * Those dependent on environment variable switches * will be removed until next release. */ { diff --git a/libarchive/xxhash.c b/libarchive/xxhash.c index 7a55fc8ed..d7f8e96de 100644 --- a/libarchive/xxhash.c +++ b/libarchive/xxhash.c @@ -57,7 +57,7 @@ You can contact the author at : ** #define XXH_ACCEPT_NULL_INPUT_POINTER 1 ** XXH_FORCE_NATIVE_FORMAT : -** By default, xxHash library provides endian-independant Hash values, based on little-endian convention. +** By default, xxHash library provides endian-independent Hash values, based on little-endian convention. ** Results are therefore identical for little-endian and big-endian CPU. ** This comes at a performance cost for big-endian CPU, since some swapping is required to emulate little-endian format. ** Should endian-independance be of no importance for your application, you may set the #define below to 1.