mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
fold(1): Revert incorrect r308432
As Jean-Sébastien notes, fold(1) requires handling argv-supplied files. That will require a slightly more sophisticated approach. Reported by: dumbbell@ Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
7db788c66f
commit
e961ace3ca
1 changed files with 0 additions and 4 deletions
|
|
@ -45,7 +45,6 @@ static char sccsid[] = "@(#)fold.c 8.1 (Berkeley) 6/6/93";
|
|||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#include <capsicum_helpers.h>
|
||||
#include <err.h>
|
||||
#include <limits.h>
|
||||
#include <locale.h>
|
||||
|
|
@ -73,9 +72,6 @@ main(int argc, char **argv)
|
|||
|
||||
(void) setlocale(LC_CTYPE, "");
|
||||
|
||||
if (caph_limit_stdio() < 0 || (cap_enter() < 0 && errno != ENOSYS))
|
||||
err(1, "capsicum");
|
||||
|
||||
width = -1;
|
||||
previous_ch = 0;
|
||||
while ((ch = getopt(argc, argv, "0123456789bsw:")) != -1) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue