]> diplodocus.org Git - nmh/blobdiff - uip/comp.c
Protect showbuildenv's headers from glob expansion.
[nmh] / uip / comp.c
index 13d73c1bc27c2b201f83e2188c5cd0045004f467..a11f1b7da665f3883324d75d46fe44624dae699f 100644 (file)
@@ -337,7 +337,8 @@ try_it_again:
            adios (drft, "unable to stat");
        printf ("Draft \"%s\" exists (%ld bytes).", drft, (long) st.st_size);
        for (i = LISTDSW; i != YESW;) {
-           if (!(argp = getans ("\nDisposition? ", isdf ? aqrunl : aqrul)))
+           if (!(argp = read_switch_multiword ("\nDisposition? ",
+                                               isdf ? aqrunl : aqrul)))
                done (1);
            switch (i = smatch (*argp, isdf ? aqrunl : aqrul)) {
                case NOSW: