Grammer fix. Changed "longer then" to "longer than". Fix thanks to Jim
authorEric Andersen <andersen@codepoet.org>
Tue, 14 Nov 2000 22:15:48 +0000 (22:15 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 14 Nov 2000 22:15:48 +0000 (22:15 -0000)
Gleason <jimg@lineo.com>.

archival/tar.c
messages.c
tar.c

index 4fd864b25ed92e62c638109e08ee4da4cd231d60..07c0e71052db07e69764057245dbf0e8dd982601 100644 (file)
@@ -39,7 +39,7 @@
 #include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_io_error
-#define bb_need_name_longer_then_foo
+#define bb_need_name_longer_than_foo
 #include "messages.c"
 #include <stdio.h>
 #include <dirent.h>
@@ -535,7 +535,7 @@ static int readTarFile(const char* tarName, int extractFlag, int listFlag,
                }
                if ( skipNextHeaderFlag == TRUE ) { 
                        skipNextHeaderFlag=FALSE;
-                       errorMsg(name_longer_then_foo, NAME_SIZE); 
+                       errorMsg(name_longer_than_foo, NAME_SIZE); 
                        tarExtractRegularFile(&header, FALSE, FALSE);
                        continue;
                }
@@ -915,7 +915,7 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf, void*
        }
 
        if (strlen(fileName) >= NAME_SIZE) {
-               errorMsg(name_longer_then_foo, NAME_SIZE);
+               errorMsg(name_longer_than_foo, NAME_SIZE);
                return ( TRUE);
        }
 
@@ -1004,7 +1004,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv,
        }
 
        /* To be pedantically correct, we would check if the tarball
-        * is smaller then 20 tar blocks, and pad it if it was smaller,
+        * is smaller than 20 tar blocks, and pad it if it was smaller,
         * but that isn't necessary for GNU tar interoperability, and
         * so is considered a waste of space */
 
index 81fd9c75c4e4ce96886afee458f7995b665ef5b1..c06a87f01cf4853f766cdeab767be3b532513057 100644 (file)
@@ -81,8 +81,8 @@
 #if defined bb_need_too_few_args || ! defined BB_DECLARE_EXTERN
        BB_DEF_MESSAGE(too_few_args, "too few arguments\n")
 #endif
-#if defined bb_need_name_longer_then_foo || ! defined BB_DECLARE_EXTERN
-       BB_DEF_MESSAGE(name_longer_then_foo, "Names longer then %d chars not supported.\n")
+#if defined bb_need_name_longer_than_foo || ! defined BB_DECLARE_EXTERN
+       BB_DEF_MESSAGE(name_longer_than_foo, "Names longer than %d chars not supported.\n")
 #endif
 
 
diff --git a/tar.c b/tar.c
index 4fd864b25ed92e62c638109e08ee4da4cd231d60..07c0e71052db07e69764057245dbf0e8dd982601 100644 (file)
--- a/tar.c
+++ b/tar.c
@@ -39,7 +39,7 @@
 #include "busybox.h"
 #define BB_DECLARE_EXTERN
 #define bb_need_io_error
-#define bb_need_name_longer_then_foo
+#define bb_need_name_longer_than_foo
 #include "messages.c"
 #include <stdio.h>
 #include <dirent.h>
@@ -535,7 +535,7 @@ static int readTarFile(const char* tarName, int extractFlag, int listFlag,
                }
                if ( skipNextHeaderFlag == TRUE ) { 
                        skipNextHeaderFlag=FALSE;
-                       errorMsg(name_longer_then_foo, NAME_SIZE); 
+                       errorMsg(name_longer_than_foo, NAME_SIZE); 
                        tarExtractRegularFile(&header, FALSE, FALSE);
                        continue;
                }
@@ -915,7 +915,7 @@ static int writeFileToTarball(const char *fileName, struct stat *statbuf, void*
        }
 
        if (strlen(fileName) >= NAME_SIZE) {
-               errorMsg(name_longer_then_foo, NAME_SIZE);
+               errorMsg(name_longer_than_foo, NAME_SIZE);
                return ( TRUE);
        }
 
@@ -1004,7 +1004,7 @@ static int writeTarFile(const char* tarName, int verboseFlag, char **argv,
        }
 
        /* To be pedantically correct, we would check if the tarball
-        * is smaller then 20 tar blocks, and pad it if it was smaller,
+        * is smaller than 20 tar blocks, and pad it if it was smaller,
         * but that isn't necessary for GNU tar interoperability, and
         * so is considered a waste of space */