version 1.18, 2015/10/07 03:49:41 |
version 1.19, 2015/10/09 01:37:09 |
|
|
int ch, first; |
int ch, first; |
char *p; |
char *p; |
|
|
if (tame("stdio rpath", NULL) == -1) |
if (pledge("stdio rpath", NULL) == -1) |
err(1, "tame"); |
err(1, "pledge"); |
|
|
/* |
/* |
* Tail's options are weird. First, -n10 is the same as -n-10, not |
* Tail's options are weird. First, -n10 is the same as -n-10, not |
|
|
(void)fclose(fp); |
(void)fclose(fp); |
} |
} |
else { |
else { |
if (tame("stdio", NULL) == -1) |
if (pledge("stdio", NULL) == -1) |
err(1, "tame"); |
err(1, "pledge"); |
|
|
fname = "stdin"; |
fname = "stdin"; |
is_stdin = 1; |
is_stdin = 1; |