]> diplodocus.org Git - nmh/blobdiff - uip/mhstoresbr.c
Newer versions of Automake want to include the test-driver script,
[nmh] / uip / mhstoresbr.c
index c53f7ad394784a16f46d474e58a115468e65b8e2..62a5ba43b19fa43e7125a0254545ad0b4d1f9ef2 100644 (file)
@@ -9,7 +9,6 @@
 
 #include <h/mh.h>
 #include <fcntl.h>
-#include <h/signals.h>
 #include <h/md5.h>
 #include <h/mts.h>
 #include <h/tws.h>
@@ -1286,7 +1285,7 @@ clobber_check (char *original_file, mhstoreinfo_t info) {
           if (isatty (fileno (stdin))) {
             char *prompt =
               concat ("Overwrite \"", file, "\" [y/n/rename]? ", NULL);
-            ans = getans (prompt, answer);
+            ans = read_switch_multiword (prompt, answer);
             free (prompt);
           } else {
             /* Overwrite, that's what nmh used to do.  And warn. */