summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio_ext.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-12-16 15:15:58 -0800
committerElliott Hughes <enh@google.com>2015-12-16 15:15:58 -0800
commitdd586f2ebd0c42904e699f3634568a38c97d4da7 (patch)
tree9622cf03564998a33d69f2039382844d81384e30 /libc/stdio/stdio_ext.cpp
parentd3e5301a75256171199b23f6ba2c6651d05ce5f1 (diff)
sem_timedwait with a null timeout doesn't mean "forever".
It actually means "crash immediately". Well, it's an error. And callers are much more likely to realize their mistake if we crash immediately rather than return EINVAL. Historically, glibc has crashed and bionic -- before the recent changes -- returned EINVAL, so this is a behavior change. Change-Id: I0c2373a6703b20b8a97aacc1e66368a5885e8c51
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions