acadia-newlib/winsup
Ken Brown a60a4501b7 Cygwin: ptsname_r: always return an error number on failure
Return EBADF on a bad file descriptor.  Previously 0 was returned, in
violation of the requirement in
https://man7.org/linux/man-pages/man3/ptsname_r.3.html that an error
number should be returned on failure.

We are intentionally deviating from Linux, on which ENOTTY is
returned.

Addresses: https://lists.gnu.org/archive/html/bug-gnulib/2021-01/msg00245.html
2021-01-22 10:36:43 -05:00
..
CVSChangeLogs.old
cygserver Cygwin: Remove recursive configure 2020-11-20 15:56:11 +00:00
cygwin Cygwin: ptsname_r: always return an error number on failure 2021-01-22 10:36:43 -05:00
doc winsup/doc/Makefile.in: create man5 dir and install proc.5 2020-12-04 12:40:58 +01:00
testsuite Cygwin: testsuite: libltp: fix warnings showing up with -Wall 2020-12-02 14:12:56 +01:00
utils Cygwin: Fix remaining warnings building path testsuite 2020-12-02 15:31:58 +00:00
CONTRIBUTORS Cygwin: Add Ben Wijen to list of contributors 2021-01-18 12:01:19 +01:00
COPYING
COPYING.LIB
CYGWIN_LICENSE
Makefile.common Cygwin: Remove nostdlib Makefile variable 2020-10-21 17:11:02 +01:00
Makefile.in Cygwin: Remove recursive configure 2020-11-20 15:56:11 +00:00
README
acinclude.m4 Cygwin: Remove recursive configure 2020-11-20 15:56:11 +00:00
aclocal.m4
autogen.sh Cygwin: Remove surplus autoconf auxiliary files 2020-11-20 15:56:21 +00:00
configure Cygwin: Remove recursive configure 2020-11-20 15:56:11 +00:00
configure.ac Cygwin: Remove recursive configure 2020-11-20 15:56:11 +00:00

README

THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESSED OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Cygwin documentation is available on the net at https://cygwin.com
You might especially be interested in

https://cygwin.com/faq/faq.html#faq.programming.building-cygwin