This website works better with JavaScript.
Home
Explore
Help
Sign In
gmarx
/
dwm-macbookair
mirror of
https://github.com/gmarxcc/dwm-macbookair
Watch
1
Star
1
Fork
0
Code
Issues
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Pledge on OpenBSD
main
Klemens Nanni
6 years ago
committed by
Hiltjo Posthuma
parent
c3a2e016bb
commit
f40f86fa87
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
dwm.c
+ 4
- 0
dwm.c
View File
@ -2137,6 +2137,10 @@ main(int argc, char *argv[])
die
(
"
dwm: cannot open display
"
)
;
checkotherwm
(
)
;
setup
(
)
;
#
ifdef __OpenBSD__
if
(
pledge
(
"
stdio proc exec
"
,
NULL
)
=
=
-
1
)
die
(
"
pledge
"
)
;
#
endif
/* __OpenBSD__ */
scan
(
)
;
run
(
)
;
cleanup
(
)
;
Write
Preview
Loading…
Cancel
Save