]> diplodocus.org Git - nmh/commitdiff
Rename files to match renamed functions
authorEric Gillespie <epg@pretzelnet.org>
Wed, 13 Apr 2016 16:58:45 +0000 (16:58 +0000)
committerEric Gillespie <epg@pretzelnet.org>
Wed, 13 Apr 2016 16:58:45 +0000 (16:58 +0000)
Follow-up to commit 840b3f0e45a43b8378e88c66f004b2f186662e35

Makefile.am
sbr/read_switch.c [moved from sbr/gans.c with 93% similarity]
sbr/read_switch_multiword.c [moved from sbr/getans.c with 95% similarity]
sbr/read_switch_multiword_via_readline.c [moved from sbr/getansreadline.c with 96% similarity]
sbr/read_yes_or_no_if_tty.c [moved from sbr/getanswer.c with 86% similarity]

index 413a6e2..92d7091 100644 (file)
@@ -579,8 +579,8 @@ sbr_libmh_a_SOURCES = sbr/addrsbr.c sbr/ambigsw.c sbr/atooi.c sbr/arglist.c \
                      sbr/error.c sbr/ext_hook.c sbr/fdcompare.c \
                      sbr/folder_addmsg.c sbr/folder_delmsgs.c \
                      sbr/folder_free.c sbr/folder_pack.c \
                      sbr/error.c sbr/ext_hook.c sbr/fdcompare.c \
                      sbr/folder_addmsg.c sbr/folder_delmsgs.c \
                      sbr/folder_free.c sbr/folder_pack.c \
-                     sbr/folder_read.c sbr/folder_realloc.c sbr/gans.c \
-                     sbr/getans.c sbr/getanswer.c sbr/getarguments.c \
+                     sbr/folder_read.c sbr/folder_realloc.c sbr/read_switch.c \
+                     sbr/read_switch_multiword.c sbr/read_yes_or_no_if_tty.c sbr/getarguments.c \
                      sbr/getcpy.c sbr/geteditor.c sbr/getfolder.c \
                      sbr/getpass.c sbr/read_line.c \
                      sbr/fmt_addr.c sbr/fmt_compile.c sbr/fmt_new.c \
                      sbr/getcpy.c sbr/geteditor.c sbr/getfolder.c \
                      sbr/getpass.c sbr/read_line.c \
                      sbr/fmt_addr.c sbr/fmt_compile.c sbr/fmt_new.c \
@@ -606,7 +606,7 @@ sbr_libmh_a_SOURCES = sbr/addrsbr.c sbr/ambigsw.c sbr/atooi.c sbr/arglist.c \
                      sbr/trimcpy.c sbr/unquote.c \
                      sbr/uprf.c sbr/vfgets.c \
                      sbr/mf.c sbr/utils.c sbr/ctype-checked.c \
                      sbr/trimcpy.c sbr/unquote.c \
                      sbr/uprf.c sbr/vfgets.c \
                      sbr/mf.c sbr/utils.c sbr/ctype-checked.c \
-                     sbr/m_mktemp.c sbr/getansreadline.c sbr/vector.c \
+                     sbr/m_mktemp.c sbr/read_switch_multiword_via_readline.c sbr/vector.c \
                      config/config.c config/version.c
 
 ##
                      config/config.c config/version.c
 
 ##
similarity index 93%
rename from sbr/gans.c
rename to sbr/read_switch.c
index e4a7d85..4599a41 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
 
 /*
- * gans.c -- get an answer from the user
+ * read_switch.c -- prompt the user for an answer from the list
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
similarity index 95%
rename from sbr/getans.c
rename to sbr/read_switch_multiword.c
index d388e2b..f653a7f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
 
 /*
- * getans.c -- get an answer from the user and return a string array
+ * read_switch_multiword.c -- get an answer from the user and return a string array
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
similarity index 96%
rename from sbr/getansreadline.c
rename to sbr/read_switch_multiword_via_readline.c
index bc2b563..570469b 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
 
 /*
- * getansreadline.c -- get an answer from the user, with readline
+ * read_switch_multiword_via_readline.c -- get an answer from the user, with readline
  *
  * This code is Copyright (c) 2012, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  *
  * This code is Copyright (c) 2012, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
similarity index 86%
rename from sbr/getanswer.c
rename to sbr/read_yes_or_no_if_tty.c
index 490d833..07f1122 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
 
 /*
- * getanswer.c -- get a yes/no answer from the user
+ * read_yes_or_no_if_tty.c -- get a yes/no answer from the user
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for