]> git.ipfire.org Git - thirdparty/tar.git/commitdiff
Fix typos
authorSamanta Navarro <ferivoz@riseup.net>
Tue, 1 Jun 2021 11:32:02 +0000 (11:32 +0000)
committerSergey Poznyakoff <gray@gnu.org>
Tue, 1 Jun 2021 15:54:07 +0000 (18:54 +0300)
Typos found with codespell

16 files changed:
lib/wordsplit.h
lib/xattr-at.h
scripts/backup-specs
scripts/restore.in
src/extract.c
src/names.c
src/sparse.c
src/system.c
src/tar.c
tests/capabs_raw01.at
tests/exclude16.at
tests/extrac23.at
tests/incr09.at
tests/multiv09.at
tests/recurs02.at
tests/testsuite.at

index ac95c9b75b467c06910a42121a7b10075b2167a8..e0f7e6de63211cdd2d9bfde04d003ef405976bc9 100644 (file)
@@ -40,7 +40,7 @@ struct wordsplit
   char **ws_wordv;          /* [Output] Array of parsed out words. */
   size_t ws_offs;           /* [Input] (WRDSF_DOOFFS) Number of initial
                               elements in ws_wordv to fill with NULLs. */
-  size_t ws_wordn;          /* Number of elements ws_wordv can accomodate. */
+  size_t ws_wordn;          /* Number of elements ws_wordv can accommodate. */
   unsigned ws_flags;        /* [Input] Flags passed to wordsplit. */
   unsigned ws_options;      /* [Input] (WRDSF_OPTIONS)
                               Additional options. */
index 1b93244dc625226c6df4b4ee8804b90c53204271..05f6b35c3674baf8e470793a3dea7cc23dbb523e 100644 (file)
@@ -63,7 +63,7 @@ ssize_t getxattrat (int dir_fd, const char *path, const char *name,
 ssize_t lgetxattrat (int dir_fd, const char *path, const char *name,
                      void *value, size_t size);
 
-/* dir-fd-relative listxattr.  Obtain the list of extended attrubtes names.  For
+/* dir-fd-relative listxattr.  Obtain the list of extended attributes names.  For
    more info see the listxattr(2) manpage. */
 ssize_t listxattrat (int dir_fd, const char *path, char *list, size_t size);
 
index 130ace56e8f42e9144f296d9e2e4b9d81678b4d6..54000a01c69d78e350119bb40172c0890168e184 100644 (file)
@@ -13,7 +13,7 @@ TAR=/bin/tar
 # In this case you will have to use public key authentication.
 RSH=/usr/local/bin/ssh
 
-# (Optional) Path to rsh binary on remote mashines. This will be
+# (Optional) Path to rsh binary on remote machines. This will be
 # passed via --rsh-command option to the remote invocation of
 # tar
 RSH_COMMAND=/usr/local/bin/ssh
@@ -43,7 +43,7 @@ BACKUP_DIRS='remote1:/etc remote1:/var/spool/crontab'
 # DIRLIST=/etc/my-backup/dirlist
 
 # List of individual files to be dumped.
-# These should be accesible from the machine on which the dump is run.
+# These should be accessible from the machine on which the dump is run.
 BACKUP_FILES=''
 # This list may also be kept in file $SYSCONFDIR/backup/files, the
 # format of which is the same as described above. The location of
index b7c8e7dd39eaaaab73763a3dd8f062bacb8f4791..203138b09217ce0ca0363289bcc7815fdec4f399 100644 (file)
@@ -183,7 +183,7 @@ restore_files()
     done
 }
 
-# Operation Overwiew:
+# Operation Overview:
 #
 # 1. Determine the time of the last backup
 # 2. Create list of incremental listings to process
index 060692b3bd92e74cefcba0e59d85c348dd9e9e31..7a95892ea922d3bb6b8672e38fa13c162b1e3493 100644 (file)
@@ -456,7 +456,7 @@ mark_after_links (struct delayed_set_stat *head)
    members. To help cope with this case the variable
    delay_directory_restore_option is set by prepare_to_extract.
 
-   If an archive was explicitely created so that its member order is
+   If an archive was explicitly created so that its member order is
    reversed, some directory timestamps can be restored incorrectly,
    e.g.:
        tar --no-recursion -cf archive dir dir/file1 foo dir/file2
index 272653daba0048fb5efa5cda4c8d7477ae2419b9..503facb4a6cbd0b8bf73be5d9b7fd59d8ba9e7ac 100644 (file)
@@ -395,7 +395,7 @@ handle_file_selection_option (int key, const char *arg)
       break;
 
     case NO_ANCHORED_OPTION:
-      include_anchored = 0; /* Clear the default for comman line args */
+      include_anchored = 0; /* Clear the default for command line args */
       matching_flags &= ~ EXCLUDE_ANCHORED;
       break;
 
index 22ba32fa8983f7f81ab7fdf81fc67987772e20c0..2ebc62121b19bdf7f8ff82188cda7e095cea5584 100644 (file)
@@ -1019,7 +1019,7 @@ static struct tar_sparse_optab const star_optab = {
    * 1.0
 
    Starting from this version, the exact sparse format version is specified
-   explicitely in the header using the following variables:
+   explicitly in the header using the following variables:
 
    GNU.sparse.major     Major version
    GNU.sparse.minor     Minor version
index eb41c28d12bc6a812cdf2d99ab25b20138f601f8..d486cb73dd443702cab6565f5fb63bfdcbc4620c 100644 (file)
@@ -538,7 +538,7 @@ sys_child_open_for_uncompress (void)
       && !_remdev (archive_name_array[0])
       && is_regular_file (archive_name_array[0]))
     {
-      /* We don't need a grandchild tar.  Open the archive and lauch the
+      /* We don't need a grandchild tar.  Open the archive and launch the
         uncompressor.  */
 
       archive = open (archive_name_array[0], O_RDONLY | O_BINARY, MODE_RW);
index 6629f190db9e2b7adc82bfd7f5a12f2ff1b0d32d..fc3c470da9edc15c9f53118904012b26c6a441d3 100644 (file)
--- a/src/tar.c
+++ b/src/tar.c
@@ -889,7 +889,7 @@ enum option_class
   };
 
 /* Table of locations of potentially conflicting options.  Two options can
-   conflict only if they procede from the command line.  Otherwise, options
+   conflict only if they proceed from the command line.  Otherwise, options
    in command line silently override those defined in TAR_OPTIONS. */
 static struct option_locus *option_class[OC_MAX];
 
@@ -2697,7 +2697,7 @@ decode_options (int argc, char **argv)
   if (backup_option)
     {
       backup_type = xget_version ("--backup", args.version_control_string);
-      /* No backup is needed either if explicitely disabled or if
+      /* No backup is needed either if explicitly disabled or if
         the extracted files are not being written to disk. */
       if (backup_type == no_backups || EXTRACT_OVER_PIPE)
        backup_option = false;
index a1d941166565b19b2cb85727aba5e957bf963925..38373f969002843c82718bb1a25710700554b555 100644 (file)
@@ -20,7 +20,7 @@
 #
 # Test description:  Test if file capabilities are archived/restored correctly
 # using just the default xattr support (capabilities are stored/restored in
-# binary format -> system dependant).
+# binary format -> system dependent).
 
 AT_SETUP([capabilities: binary store/restore])
 AT_KEYWORDS([xattrs capabilities capabs_raw01])
index 13863ea2b44e8beb5805e46cebb8d12aafe728d4..689b3d382b724a70012126976a92092135027fd3 100644 (file)
@@ -24,7 +24,7 @@
 # --listed-incremental option is given.
 #
 # This testcase verifies whether the --exclude-tag-all option works
-# as expected whe used together with --listed-incremental.  If the
+# as expected when used together with --listed-incremental.  If the
 # exclusion tag is created after the level 0 dump, the level 1 dump
 # must skip the entire affected subdirectory and any previously-included
 # files within it.
index 84f97446f44125ae2b504cd8339c4f51276348cd..b9c9d0e6f18ecd53d9c9bfe18429aa72d8ad8971 100644 (file)
@@ -38,7 +38,7 @@ chmod 777 dir
 tar -xf a.tar --no-overwrite-dir
 genfile --stat=mode.777 dir
 
-# Test if temprorary permissions are set correctly to allow the owner
+# Test if temporary permissions are set correctly to allow the owner
 # to write to the directory.
 genfile --file dir/file
 tar cf a.tar dir
index 000915950acd985976aa4ba2d1ce446ac2566801..5eebcb52856d296bd6b146794d3bf1a0620e54f3 100644 (file)
@@ -16,7 +16,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Description: For some intermediate versions of tar 1.26.90,
-# tar would fail to correctly cannonicalize archive member names
+# tar would fail to correctly canonicalize archive member names
 # in incremental mode if there was a -C options with an absolute path
 # on the command line without any archive members specified within that
 # directory. (In that case, the canonical name generated for
index 372d4720e2a210586f4727344b65c4bfd92d0dc0..de809cf46368b86adea1f6a4f9d7d1cde7d3fe72 100644 (file)
@@ -16,7 +16,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Description: Tar <=1.28 would segfault extracting from a multi-volume
-# archive containging filenames >= 100 characters if the subsequent volume
+# archive containing filenames >= 100 characters if the subsequent volume
 # was not set properly.
 # Reported by: Pavel Raiskup <praiskup@redhat.com>
 # References: https://bugzilla.redhat.com/show_bug.cgi?id=866071,
index 31cf7683be8bbc1d5afc49aa88f07b7785d555f6..97fe7561d7fa48d6b59db2daa418b24575cc9bba 100644 (file)
@@ -19,7 +19,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Description: Test interaction of --recursion and --no-recursion options.
-# Each of them remains in effect until cancelled by the next ocurrence
+# Each of them remains in effect until cancelled by the next occurrence
 # of its counterpart.  This didn't work in v.1.27.1 and was fixed by
 # commit 2bd9c153.
 # Reported by: Kai <hellsy22@mail.ru>
index d93f394c7e59a96e75672c09e43eb1d4666592d7..2d3faece434fdff988c73f0f5d40d8f8f4246f5d 100644 (file)
@@ -131,7 +131,7 @@ m4_define([AT_TAR_MKHIER],[
 install-sh -d $1 >/dev/null dnl
 m4_if([$2],,,&& genfile --file [$1]/[$2]) || AT_SKIP_TEST])
 
-dnl Skip test when utlity does not return expected return value
+dnl Skip test when utility does not return expected return value
 m4_define([AT_CHECK_UTIL],[
   $1 &> /dev/null
   if test "$?" != $2; then