]> diplodocus.org Git - nmh/commitdiff
Changed "existant" to "existent". Found by misspell_fixer.
authorDavid Levine <levinedl@acm.org>
Sat, 15 Oct 2016 15:33:34 +0000 (11:33 -0400)
committerDavid Levine <levinedl@acm.org>
Sat, 15 Oct 2016 15:33:34 +0000 (11:33 -0400)
docs/pending-release-notes
man/folder.man
man/mh-sequence.man
test/mhpath/test-mhpath
uip/folder.c

index e5ae089..90966cc 100644 (file)
@@ -46,7 +46,7 @@ NEW FEATURES
 - Added support to send(1) to specify switches to post(1) based on address or
   domain name in From: header line in message draft.
 - post(8) -snoop now attempts to decode base64-encoded SMTP traffic.
 - Added support to send(1) to specify switches to post(1) based on address or
   domain name in From: header line in message draft.
 - post(8) -snoop now attempts to decode base64-encoded SMTP traffic.
-- folder(1) -nocreate now prints a warning message for a non-existant folder.
+- folder(1) -nocreate now prints a warning message for a non-existent folder.
 - mhfixmsg(1) now allows -decodetext binary, though 8bit is still the default.
 - inc(1) and msgchk(1) now support TLS encryption natively.
 - Support for SMTPUTF8 (RFC 6531) has been added.  mhshow(1) already supported
 - mhfixmsg(1) now allows -decodetext binary, though 8bit is still the default.
 - inc(1) and msgchk(1) now support TLS encryption natively.
 - Support for SMTPUTF8 (RFC 6531) has been added.  mhshow(1) already supported
index 92a2cf0..397937b 100644 (file)
@@ -81,7 +81,7 @@ use later.)  Specifying
 will cause
 .B folder
 to print an error message and exit
 will cause
 .B folder
 to print an error message and exit
-without creating a non-existant folder.
+without creating a non-existent folder.
 .\"
 .\" note - this doesn't work at present
 .\" If `\-noprint' is specified, 
 .\"
 .\" note - this doesn't work at present
 .\" If `\-noprint' is specified, 
@@ -328,7 +328,7 @@ and/or
 are given, they will become the current folder and/or message.
 .SH BUGS
 There is no way to restore the default behavior 
 are given, they will become the current folder and/or message.
 .SH BUGS
 There is no way to restore the default behavior 
-(to ask the user whether to create a non-existant folder)
+(to ask the user whether to create a non-existent folder)
 after
 .B \-create
 or
 after
 .B \-create
 or
index 8d2a56b..59a582a 100644 (file)
@@ -75,7 +75,7 @@ selects the 3 messages ending with `name', \*(lqname=-3\*(rq selects
 just the 2nd previous message.  It is an error if the requested
 message does not exist (i.e., there aren't enough messages in the
 folder).
 just the 2nd previous message.  It is an error if the requested
 message does not exist (i.e., there aren't enough messages in the
 folder).
-.PP 
+.PP
 In commands which accept a `msgs' argument, the default is either
 \*(lqcur\*(rq or \*(lqall\*(rq, depending on which makes more sense
 for each command (see the individual man pages for details).  Repeated
 In commands which accept a `msgs' argument, the default is either
 \*(lqcur\*(rq or \*(lqall\*(rq, depending on which makes more sense
 for each command (see the individual man pages for details).  Repeated
@@ -294,9 +294,9 @@ cur: 46
 .PP
 .B Nmh
 commands that modify the sequence file will silently remove sequences for
 .PP
 .B Nmh
 commands that modify the sequence file will silently remove sequences for
-nonexistant messages when the sequence file is updated.  The exception to 
+nonexistent messages when the sequence file is updated.  The exception to
 this is the \*(lqcur\*(rq sequence, which is allowed to point to a
 this is the \*(lqcur\*(rq sequence, which is allowed to point to a
-nonexistant message.
+nonexistent message.
 .SS Sequence File Locking
 The \*(lqdatalocking\*(rq profile entry controls the type of locking used
 when reading and writing sequence files.  The locking mechanisms supported
 .SS Sequence File Locking
 The \*(lqdatalocking\*(rq profile entry controls the type of locking used
 when reading and writing sequence files.  The locking mechanisms supported
index d07e414..b92e85e 100755 (executable)
@@ -128,7 +128,7 @@ EOF
 run_prog mhpath first:2 > $actual 2>&1
 check $expected $actual
 
 run_prog mhpath first:2 > $actual 2>&1
 check $expected $actual
 
-# check reference to non-existant messages
+# check reference to non-existent messages
 cat > $expected <<EOF
 $MH_TEST_DIR/Mail/inbox/1
 $MH_TEST_DIR/Mail/inbox/2
 cat > $expected <<EOF
 $MH_TEST_DIR/Mail/inbox/1
 $MH_TEST_DIR/Mail/inbox/2
index 4f36ed0..d71b43f 100644 (file)
@@ -96,8 +96,9 @@ static void readonly_folders (void);
  * Function for printing error message if folder does not exist with
  * -nocreate.
  */
  * Function for printing error message if folder does not exist with
  * -nocreate.
  */
+static
 void
 void
-nonexistant_folder (int status) {
+nonexistent_folder (int status) {
     NMH_UNUSED (status);
     adios (NULL, "folder %s does not exist", folder);
 }
     NMH_UNUSED (status);
     adios (NULL, "folder %s does not exist", folder);
 }
@@ -359,7 +360,7 @@ main (int argc, char **argv)
         * Check if folder exists.  If not, then see if
         * we should create it, or just exit.
         */
         * Check if folder exists.  If not, then see if
         * we should create it, or just exit.
         */
-        create_folder (m_maildir (folder), fcreat, nonexistant_folder);
+        create_folder (m_maildir (folder), fcreat, nonexistent_folder);
 
        if (get_folder_info (folder, msg) && argfolder) {
            /* update current folder */
 
        if (get_folder_info (folder, msg) && argfolder) {
            /* update current folder */