usr/src/cmd/mailx/fio.c
changeset 14275 704102d4c169
parent 14274 9313d2be2f5f
--- a/usr/src/cmd/mailx/fio.c	Thu Apr 30 20:00:43 2015 +0100
+++ b/usr/src/cmd/mailx/fio.c	Thu Apr 30 20:01:26 2015 +0100
@@ -757,7 +757,7 @@
 		if (debug) fprintf(stderr, "%s\n", name);
 		return (name);
 	}
-	if (wordexp(name, &wrdexp_buf, 0) != 0) {
+	if (wordexp(name, &wrdexp_buf, WRDE_NOCMD) != 0) {
 		fprintf(stderr, gettext("Syntax error in \"%s\"\n"), name);
 		fflush(stderr);
 		return (NOSTR);