version 1.63, 2015/10/09 01:37:07 |
version 1.64, 2015/10/26 12:52:27 |
|
|
argc -= optind; |
argc -= optind; |
argv += optind; |
argv += optind; |
|
|
if (getenv("TMPDIR")) { |
if (pledge("stdio rpath tmppath", NULL) == -1) |
if (pledge("stdio rpath wpath cpath", NULL) == -1) |
err(1, "pledge"); |
err(1, "pledge"); |
|
} else { |
|
if (pledge("stdio rpath tmppath", NULL) == -1) |
|
err(1, "pledge"); |
|
} |
|
|
|
/* |
/* |
* Do sanity checks, fill in stb1 and stb2 and call the appropriate |
* Do sanity checks, fill in stb1 and stb2 and call the appropriate |