diff options
author | Takashi Yano <takashi.yano@nifty.ne.jp> | 2025-03-31 23:01:50 +0900 |
---|---|---|
committer | Takashi Yano <takashi.yano@nifty.ne.jp> | 2025-03-31 23:12:20 +0900 |
commit | 7fc7d8b1d4e323a531ab2e71581263a0675072d8 (patch) | |
tree | effac9adc7b0e6fc1b8145c82a86e0cb198588ce /newlib/libc/stdlib/wcstoll.c | |
parent | 0d73c040676a44829a9a3614b4013fa50fdc56e8 (diff) | |
download | newlib-7fc7d8b1d4e323a531ab2e71581263a0675072d8.zip newlib-7fc7d8b1d4e323a531ab2e71581263a0675072d8.tar.gz newlib-7fc7d8b1d4e323a531ab2e71581263a0675072d8.tar.bz2 |
Cygwin: pty: Return EMFILE when too meny ptmx are opened
Previously, opening /dev/ptmx fails without setting errno when it
is opened too many times. With this patch, return EMFILE in that
situation.
Addresses: https://cygwin.com/pipermail/cygwin/2025-March/257786.html
Fixes: 09738c30627c ("Cygwin: pty: setup new pty on opening the master, not in constructor")
Reported-by: Christian Franke <christian.franke@t-online.de>
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Diffstat (limited to 'newlib/libc/stdlib/wcstoll.c')
0 files changed, 0 insertions, 0 deletions