Skip to content

Commit

Permalink
Revert "OpenBSD: drop rpath pledge(2) promises after initialization"
Browse files Browse the repository at this point in the history
This reverts commit f760d71.
  • Loading branch information
phillbush committed Jan 13, 2023
1 parent f8e9274 commit 57ecac4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xnotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -1316,12 +1316,6 @@ main(int argc, char *argv[])
initstructurenotify();
initellipsis();

#ifdef __OpenBSD__
/* drop "rpath unix" promises */
if (pledge("stdio", NULL) == -1)
err(1, "pledge");
#endif

/* set up queue of notifications */
queue = setqueue();

Expand Down

0 comments on commit 57ecac4

Please sign in to comment.