from "stdio rpath" to just "stdio", before parsing any user data.
It may not matter that much just yet, but parsing will become
slightly more complicated soon when i shall add UTF-8 handling.
OK millert@
-/* $OpenBSD: lam.c,v 1.20 2018/07/11 11:35:06 schwarze Exp $ */
+/* $OpenBSD: lam.c,v 1.21 2018/07/11 11:42:17 schwarze Exp $ */
/* $NetBSD: lam.c,v 1.2 1994/11/14 20:27:42 jtc Exp $ */
/*-
getargs(argc, argv);
if (numfiles == 0)
usage();
+
+ if (pledge("stdio", NULL) == -1)
+ err(1, "pledge");
+
/* Concatenate lines from each file, then print. */
for (;;) {
linep = line;