[wiki] [sites] [dwm] Update pledge diff || Klemens Nanni
commit 3ae4caac371875a01f7ca910ecb3a83494c72fd5
Author: Klemens Nanni <klemens_AT_posteo.de>
Date: Wed Jun 6 10:02:51 2018 +0200
[dwm] Update pledge diff
diff --git a/dwm.suckless.org/patches/pledge/dwm-pledge-20180522-c8e9479.diff b/dwm.suckless.org/patches/pledge/dwm-pledge-20180522-c8e9479.diff
deleted file mode 100644
index 20a24309..00000000
--- a/dwm.suckless.org/patches/pledge/dwm-pledge-20180522-c8e9479.diff
+++ /dev/null
_AT_@ -1,13 +0,0 @@
-diff --git a/dwm.c b/dwm.c
-index bb95e26..abfb097 100644
---- a/dwm.c
-+++ b/dwm.c
-_AT_@ -2137,6 +2137,8 @@ main(int argc, char *argv[])
- die("dwm: cannot open display");
- checkotherwm();
- setup();
-+ if (pledge("stdio proc exec", NULL) == -1)
-+ die("pledge");
- scan();
- run();
- cleanup();
diff --git a/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff b/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff
index dbbb16a2..64f7e8ba 100644
--- a/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff
+++ b/dwm.suckless.org/patches/pledge/dwm-pledge-6.1.diff
_AT_@ -5,7 +5,7 @@ Index: dwm.c
die("dwm: cannot open display
");
checkotherwm();
setup();
-+ if (pledge("stdio proc exec", NULL) == -1)
++ if (pledge("stdio rpath proc exec", NULL) == -1)
+ die("pledge
");
scan();
run();
diff --git a/dwm.suckless.org/patches/pledge/index.md b/dwm.suckless.org/patches/pledge/index.md
index 32a575a2..1f45359b 100644
--- a/dwm.suckless.org/patches/pledge/index.md
+++ b/dwm.suckless.org/patches/pledge/index.md
_AT_@ -10,7 +10,6 @@ Download
--------
* [dwm-pledge-6.1.diff](dwm-pledge-6.1.diff)
- * [dwm-pledge-20180522-c8e9479.diff](dwm-pledge-20180522-c8e9479.diff)
Authors
-------
Received on Wed Jun 06 2018 - 10:07:47 CEST
This archive was generated by hypermail 2.3.0
: Wed Jun 06 2018 - 10:12:23 CEST