bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix typos


From: Tobias Stoeckmann
Subject: [PATCH] Fix typos
Date: Tue, 13 Aug 2024 21:53:08 +0200

Typos found with codespell.
---
 TODO              | 2 +-
 doc/tar.texi      | 2 +-
 lib/xattr-at.h    | 2 +-
 src/tar.c         | 2 +-
 tests/multiv04.at | 2 +-
 tests/star/README | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/TODO b/TODO
index 81d3207e..5ec71d33 100644
--- a/TODO
+++ b/TODO
@@ -25,7 +25,7 @@ Suggestions for improving GNU tar.
   It would be useful to be able to use '--remove-files' with '--diff',
   to remove all files that compare successfully, when verifying a backup.

-* Add tests for the new functonality.
+* Add tests for the new functionality.

 * Consider this:

diff --git a/doc/tar.texi b/doc/tar.texi
index 2519f97b..5c0cb387 100644
--- a/doc/tar.texi
+++ b/doc/tar.texi
@@ -4968,7 +4968,7 @@ Books, ISBN 1-56884-203-1.}.  The two most common errors 
are:

 @enumerate
 @item
-Mistakingly using @code{create} instead of @code{extract}, when the
+Mistakenly using @code{create} instead of @code{extract}, when the
 intent was to extract the full contents of an archive.  This error
 is likely: keys @kbd{c} and @kbd{x} are right next to each other on
 the QWERTY keyboard.  Instead of being unpacked, the archive then
diff --git a/lib/xattr-at.h b/lib/xattr-at.h
index bc0a5480..a7d9122b 100644
--- a/lib/xattr-at.h
+++ b/lib/xattr-at.h
@@ -51,7 +51,7 @@ int lsetxattrat (int dir_fd, const char *path, const char 
*name,
                  const void *value, size_t size, int flags);

 /* dir-fd-relative getxattr.  Operation gets the VALUE of the extended
-   attribute idenfified by NAME and associated with the given PATH in the
+   attribute identified by NAME and associated with the given PATH in the
    filesystem relatively to directory identified by DIR_FD.  For more info
    about all parameters see the getxattr(2) manpage. */
 ssize_t getxattrat (int dir_fd, const char *path, const char *name,
diff --git a/src/tar.c b/src/tar.c
index 4cb07468..cf0fc9f7 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -470,7 +470,7 @@ The version control may be set with --backup or 
VERSION_CONTROL, values are:\n\n
    -n may become available in the future.
 */

-/* Option group idenitfiers help in sorting options by category: */
+/* Option group identifiers help in sorting options by category: */
 enum
   {
     GRH_COMMAND,
diff --git a/tests/multiv04.at b/tests/multiv04.at
index fe7205c9..00c447f7 100644
--- a/tests/multiv04.at
+++ b/tests/multiv04.at
@@ -25,7 +25,7 @@

 # Test idea:
 # 1. Create a listed-incremental archive of a directory containing
-# a cetrain number of zero-length files.
+# a certain number of zero-length files.
 # 2. Using the same snapshot file, create a *multivolume* listed-incremental
 # archive. Number of files created in the directory and volume size should
 # be selected so that the first volume ends in the midst of the directory
diff --git a/tests/star/README b/tests/star/README
index bb4d77ab..7686e81f 100644
--- a/tests/star/README
+++ b/tests/star/README
@@ -45,7 +45,7 @@ format.

 * pax-big-10g.at

-Requires pax-big-10g.tar.bz2. It tests handling pax (POSIX.1-2001) archves
+Requires pax-big-10g.tar.bz2. It tests handling pax (POSIX.1-2001) archives
 containing very large files (in this case -- 10 GB).

 * quicktest.sh
--
2.46.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]