diff options
author | Graham Percival <graham@percival-music.ca> | 2016-11-30 13:46:10 -0800 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2016-11-30 22:46:10 +0100 |
commit | fa8dc4e93c45182de73cded86ebf58a348851f05 (patch) | |
tree | 15e46996713dd957899d5197d8481183e97b5993 /tar/test | |
parent | 0decdb65da9741a3674220ccb81182dbf6b7cf29 (diff) | |
download | libarchive-fa8dc4e93c45182de73cded86ebf58a348851f05.tar.gz |
Spelling fixes (#830)
* Spelling: previos -> previous
Sponsored by: Tarsnap Backup Inc.
* Spelling: Preparre -> Prepare
Sponsored by: Tarsnap Backup Inc.
* Spelling: Invalide -> Invalid
Sponsored by: Tarsnap Backup Inc.
* Spelling: leagal -> legal
Sponsored by: Tarsnap Backup Inc.
* Spelling: lengthe -> length
Sponsored by: Tarsnap Backup Inc.
* Spelling: cotents -> contents
Sponsored by: Tarsnap Backup Inc.
* Spelling: travesal -> traversal
Sponsored by: Tarsnap Backup Inc.
* Spelling: functinos -> functions
Sponsored by: Tarsnap Backup Inc.
* Spelling: particluar -> particular
Sponsored by: Tarsnap Backup Inc.
* Spelling: uncapable -> incapable
Sponsored by: Tarsnap Backup Inc.
Diffstat (limited to 'tar/test')
-rw-r--r-- | tar/test/main.c | 4 | ||||
-rw-r--r-- | tar/test/test_copy.c | 4 | ||||
-rw-r--r-- | tar/test/test_windows.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/tar/test/main.c b/tar/test/main.c index d35d3356..71a0c49e 100644 --- a/tar/test/main.c +++ b/tar/test/main.c @@ -521,7 +521,7 @@ _utf8_to_unicode(uint32_t *pwc, const char *s, size_t n) return (0); /* Standard: return 0 for end-of-string. */ cnt = utf8_count[ch]; - /* Invalide sequence or there are not plenty bytes. */ + /* Invalid sequence or there are not plenty bytes. */ if (n < (size_t)cnt) return (-1); @@ -560,7 +560,7 @@ _utf8_to_unicode(uint32_t *pwc, const char *s, size_t n) return (-1); } - /* The code point larger than 0x10FFFF is not leagal + /* The code point larger than 0x10FFFF is not legal * Unicode values. */ if (wc > 0x10FFFF) return (-1); diff --git a/tar/test/test_copy.c b/tar/test/test_copy.c index c4c1aa05..e6e31f45 100644 --- a/tar/test/test_copy.c +++ b/tar/test/test_copy.c @@ -285,7 +285,7 @@ copy_basic(void) /* NOTE: for proper operation on cygwin-1.5 and windows, the * length of the name of the directory below, "plain", must be - * less than or equal to the lengthe of the name of the original + * less than or equal to the length of the name of the original * directory, "original" This restriction derives from the * extremely limited pathname lengths on those platforms. */ @@ -327,7 +327,7 @@ copy_ustar(void) /* NOTE: for proper operation on cygwin-1.5 and windows, the * length of the name of the directory below, "ustar", must be - * less than or equal to the lengthe of the name of the original + * less than or equal to the length of the name of the original * directory, "original" This restriction derives from the * extremely limited pathname lengths on those platforms. */ diff --git a/tar/test/test_windows.c b/tar/test/test_windows.c index 1977ec64..d619667b 100644 --- a/tar/test/test_windows.c +++ b/tar/test/test_windows.c @@ -133,7 +133,7 @@ DEFINE_TEST(test_windows) char *fp1, *fp2; /* - * Preparre tests. + * Prepare tests. * Create directories and files. */ assertMakeDir("tmp", 0775); |