From 2699babc95c99b98ecb8bb0d34f0331394ee4c5f Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 2 May 2016 10:56:28 -0400 Subject: [PATCH] Fix spelling typos in comments The Debian package checker tool (lintian) detected a few typos. Reported-by: Felix Geyer --- CMakeLists.txt | 2 +- libarchive/archive_read_disk_windows.c | 2 +- libarchive/xxhash.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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. -- 2.47.2