]> Savannah Git Hosting - gnulib.git/commit
ptsname_r: Work around ptsname_r bug on Solaris 11 OmniOS.
authorCollin Funk <collin.funk1@gmail.com>
Sat, 25 Jan 2025 05:36:11 +0000 (21:36 -0800)
committerBruno Haible <bruno@clisp.org>
Sun, 2 Feb 2025 09:45:35 +0000 (10:45 +0100)
commit0a618cff2ed9bcf9ddaf7a4ffe115649ffe4527e
tree4153a9eb8fce4fc08623d31484182125efe55272
parent9f6a5cac377587c61acbcec934d1f7f73f0c6369
ptsname_r: Work around ptsname_r bug on Solaris 11 OmniOS.

* lib/ptsname_r.c (ptsname_r): Ensure the resulting buffer is not
clobbered if it is too small on Solaris 11 OmniOS.
* m4/ptsname_r.m4 (gl_FUNC_PTSNAME_R): On Solaris 11 OmniOS, arrange to
override ptsname_r.
* doc/posix-functions/ptsname_r.texi: Document the bug.
ChangeLog
doc/posix-functions/ptsname_r.texi
lib/ptsname_r.c
m4/ptsname_r.m4