artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691095c
)
Handle F_ISATTY in the fcntl() stub as well
author
deraadt
<deraadt@openbsd.org>
Thu, 15 Oct 2015 16:38:04 +0000
(16:38 +0000)
committer
deraadt
<deraadt@openbsd.org>
Thu, 15 Oct 2015 16:38:04 +0000
(16:38 +0000)
ok guenther
lib/librthread/rthread_cancel.c
patch
|
blob
|
history
diff --git
a/lib/librthread/rthread_cancel.c
b/lib/librthread/rthread_cancel.c
index
283a86a
..
0a7a35c
100644
(file)
--- 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: