wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 6563332c9fa8d0ba997f223545ab411149870de4
parent 4181367d68edc6f2a41fa72c7d4ae7e290772b72
Author: Kris Maglione <jg@suckless.org>
Date:   Sun,  3 Feb 2008 16:57:36 -0500

s/F_SETFL/F_SETFD/. Fix old instances of wmiir hanging around.

Diffstat:
cmd/wmii/main.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cmd/wmii/main.c b/cmd/wmii/main.c @@ -214,7 +214,8 @@ cleanup_handler(int signal) { static void closeexec(int fd) { - fcntl(fd, F_SETFL, FD_CLOEXEC); + if(fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) + fatal("can't set %d close on exec: %r", fd); } static int