[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ptsname_r on Cygwin
From: |
Bruno Haible |
Subject: |
Re: ptsname_r on Cygwin |
Date: |
Thu, 21 Jan 2021 21:26:27 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
Ken Brown wrote:
> Thanks for the report. I've submitted a patch that fixes this:
>
> https://cygwin.com/pipermail/cygwin-patches/2021q1/010995.html
Thanks. EBADF is the more "proper" errno value here, for fd < 0. But
glibc produces errno ENOTTY in this case; so it should be acceptable too.
Bruno