From 8508390ec2a112b8b07cf30ff23015ad98320435 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 20 Feb 2010 13:25:58 -0500 Subject: [PATCH] Correct the spelling of 'hierarchy' SVN-Revision: 1923 --- cpio/bsdcpio.1 | 2 +- libarchive/archive_write_disk.3 | 4 ++-- tar/test/test_option_T_upper.c | 2 +- tar/test/test_option_s.c | 2 +- tar/tree.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpio/bsdcpio.1 b/cpio/bsdcpio.1 index 79b6997ef..bb69fd157 100644 --- a/cpio/bsdcpio.1 +++ b/cpio/bsdcpio.1 @@ -295,7 +295,7 @@ for more information. .Sh EXAMPLES The .Nm -command is traditionally used to copy file heirarchies in conjunction +command is traditionally used to copy file hierarchies in conjunction with the .Xr find 1 command. diff --git a/libarchive/archive_write_disk.3 b/libarchive/archive_write_disk.3 index 7bcecc4e0..99878b719 100644 --- a/libarchive/archive_write_disk.3 +++ b/libarchive/archive_write_disk.3 @@ -339,7 +339,7 @@ In particular, the directory .Pa aa is created as well as the final object .Pa bb . -In theory, this can be exploited to create an entire directory heirarchy +In theory, this can be exploited to create an entire directory hierarchy with a single request. Of course, this does not work if the .Cm ARCHIVE_EXTRACT_NODOTDOT @@ -371,5 +371,5 @@ compact implementation when appropriate. .Pp There should be a corresponding .Nm archive_read_disk -interface that walks a directory heirarchy and returns archive +interface that walks a directory hierarchy and returns archive entry objects. diff --git a/tar/test/test_option_T_upper.c b/tar/test/test_option_T_upper.c index 3d2a8b1e2..99554f029 100644 --- a/tar/test/test_option_T_upper.c +++ b/tar/test/test_option_T_upper.c @@ -49,7 +49,7 @@ DEFINE_TEST(test_option_T_upper) struct stat st; int gnarlyFilesSupported; - /* Create a simple dir heirarchy; bail if anything fails. */ + /* Create a simple dir hierarchy; bail if anything fails. */ if (!assertMakeDir("d1", 0755)) return; if (!assertMakeDir("d1/d2", 0755)) return; if (!touch("f", 1)) return; diff --git a/tar/test/test_option_s.c b/tar/test/test_option_s.c index 8eb415e1c..701f07c3c 100644 --- a/tar/test/test_option_s.c +++ b/tar/test/test_option_s.c @@ -44,7 +44,7 @@ DEFINE_TEST(test_option_s) { struct stat st; - /* Create a sample file heirarchy. */ + /* Create a sample file hierarchy. */ assertMakeDir("in", 0755); assertMakeDir("in/d1", 0755); assertEqualInt(0, mkfile("in/d1/foo", "foo")); diff --git a/tar/tree.c b/tar/tree.c index 6504ebf7d..da8962bc3 100644 --- a/tar/tree.c +++ b/tar/tree.c @@ -401,7 +401,7 @@ tree_next(struct tree *t) * violation. Just crash now. */ if (t->visit_type == TREE_ERROR_FATAL) { fprintf(stderr, "Unable to continue traversing" - " directory heirarchy after a fatal error."); + " directory hierarchy after a fatal error."); abort(); } -- 2.47.3