From: Bruno Haible Date: Tue, 9 Sep 2025 10:49:07 +0000 (+0200) Subject: ttyname_r: Remove support for OSF/1. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=018c1703f2a85eb219d9a6dc140404288574186c;p=thirdparty%2Fgnulib.git ttyname_r: Remove support for OSF/1. * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Remove cross-compilation guess for OSF/1. --- diff --git a/ChangeLog b/ChangeLog index 3e0ae13b4c..1499315483 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2025-09-09 Bruno Haible + ttyname_r: Remove support for OSF/1. + * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Remove cross-compilation guess + for OSF/1. + truncl: Remove support for OSF/1. * m4/truncl.m4 (gl_FUNC_TRUNCL): Don't test against OSF/1 bug. diff --git a/m4/ttyname_r.m4 b/m4/ttyname_r.m4 index 1c34d8d239..3d9a375914 100644 --- a/m4/ttyname_r.m4 +++ b/m4/ttyname_r.m4 @@ -1,5 +1,5 @@ # ttyname_r.m4 -# serial 13 +# serial 14 dnl Copyright (C) 2010-2025 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -48,8 +48,6 @@ AC_DEFUN([gl_FUNC_TTYNAME_R], dnl On Solaris 10, both ttyname_r functions (the one with the non-POSIX dnl declaration and the one with the POSIX declaration) refuse to do dnl anything when the output buffer is less than 128 bytes large. - dnl On OSF/1 5.1, ttyname_r ignores the buffer size and assumes the - dnl buffer is large enough. dnl On Android 4.3, ttyname_r is a stub that prints dnl "int ttyname_r(int, char*, size_t)(3) is not implemented on Android" dnl on stderr and returns -ERANGE. @@ -92,8 +90,6 @@ changequote(,)dnl case "$host_os" in # Guess no on Solaris. solaris*) gl_cv_func_ttyname_r_works="guessing no" ;; - # Guess no on OSF/1. - osf*) gl_cv_func_ttyname_r_works="guessing no" ;; # Guess yes otherwise. *) gl_cv_func_ttyname_r_works="guessing yes" ;; esac