* mdocml: Since SQLite is gone, we no longer need the "flock" pledge.
@ 2017-02-22 14:59 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-02-22 14:59 UTC (permalink / raw)
To: source
Log Message:
-----------
Since SQLite is gone, we no longer need the "flock" pledge.
Patch from semarie@, OK tb@.
Modified Files:
--------------
mdocml:
main.c
Revision Data
-------------
Index: main.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/main.c,v
retrieving revision 1.283
retrieving revision 1.284
diff -Lmain.c -Lmain.c -u -p -r1.283 -r1.284
--- main.c
+++ main.c
@@ -149,7 +149,7 @@ main(int argc, char *argv[])
return mandocdb(argc, argv);
#if HAVE_PLEDGE
- if (pledge("stdio rpath tmppath tty proc exec flock", NULL) == -1)
+ if (pledge("stdio rpath tmppath tty proc exec", NULL) == -1)
err((int)MANDOCLEVEL_SYSERR, "pledge");
#endif
@@ -312,7 +312,7 @@ main(int argc, char *argv[])
#if HAVE_PLEDGE
if (!use_pager)
- if (pledge("stdio rpath flock", NULL) == -1)
+ if (pledge("stdio rpath", NULL) == -1)
err((int)MANDOCLEVEL_SYSERR, "pledge");
#endif
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-22 14:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-22 14:59 mdocml: Since SQLite is gone, we no longer need the "flock" pledge schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).