all repos — dmenu @ 851b73d178c8d7665c6d8a0bc34dbd4f9d1aa77b

my build of dmenu

code-style for pledge: check the return code -1, not < 0

this is the proper idiom
Hiltjo Posthuma hiltjo@codemadness.org
Fri, 25 May 2018 13:07:17 +0200
commit

851b73d178c8d7665c6d8a0bc34dbd4f9d1aa77b

parent

05c138f5b8f19070a190b97728c83b454855f52b

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -750,7 +750,7 @@ die("no fonts could be loaded.");

lrpad = drw->fonts->h; #ifdef __OpenBSD__ - if (pledge("stdio rpath", NULL) < 0) + if (pledge("stdio rpath", NULL) == -1) die("pledge"); #endif