SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
13
sysutils/shunt/patches/patch-src_exactly_main_c
Normal file
13
sysutils/shunt/patches/patch-src_exactly_main_c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- src/exactly/main.c.orig Wed Apr 27 19:08:28 2016
|
||||
+++ src/exactly/main.c Wed Apr 27 19:10:31 2016
|
||||
@@ -142,6 +142,10 @@ decipher_command_line(int argc, char** argv)
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
+ if (pledge("stdio", NULL) == -1) {
|
||||
+ perror("pledge");
|
||||
+ exit(2);
|
||||
+ }
|
||||
char* block = NULL;
|
||||
unsigned long int i = 0;
|
||||
unsigned long int rcount = 0;
|
Loading…
Add table
Add a link
Reference in a new issue