From: deraadt Date: Thu, 15 Oct 2015 16:38:04 +0000 (+0000) Subject: Handle F_ISATTY in the fcntl() stub as well X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3f3589673062584cd84d5c702926b2f74131854b;p=openbsd Handle F_ISATTY in the fcntl() stub as well ok guenther --- diff --git a/lib/librthread/rthread_cancel.c b/lib/librthread/rthread_cancel.c index 283a86a6c43..0a7a35cdb44 100644 --- a/lib/librthread/rthread_cancel.c +++ b/lib/librthread/rthread_cancel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread_cancel.c,v 1.9 2014/08/31 20:23:10 guenther Exp $ */ +/* $OpenBSD: rthread_cancel.c,v 1.10 2015/10/15 16:38:04 deraadt Exp $ */ /* $snafu: libc_tag.c,v 1.4 2004/11/30 07:00:06 marc Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman */ @@ -200,6 +200,7 @@ fcntl(int fd, int cmd, ...) case F_GETFD: case F_GETFL: case F_GETOWN: + case F_ISATTY: rv = _thread_sys_fcntl(fd, cmd); break; case F_GETLK: