diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-15 16:38:05 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-15 16:38:05 +0000 |
commit | e4bcff5f56a2a2bc1eaab7249781f12632964baa (patch) | |
tree | 5fc9cf304b3e11bcae1968d00c87f6da80152239 /lib | |
parent | cf65d3e9b63a00f984855257e4e8d7ebf134f94e (diff) |
Handle F_ISATTY in the fcntl() stub as well
ok guenther
Diffstat (limited to 'lib')
-rw-r--r-- | lib/librthread/rthread_cancel.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <marc@snafu.org> */ @@ -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: |