]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
ttyname_r: Remove support for OSF/1.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Sep 2025 10:49:07 +0000 (12:49 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 9 Sep 2025 10:49:07 +0000 (12:49 +0200)
* m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Remove cross-compilation guess
for OSF/1.

ChangeLog
m4/ttyname_r.m4

index 3e0ae13b4c11ea1a97c7a87d7128d2ca023bbd4c..14993154838a2ed48732b429e85b591df1293232 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2025-09-09  Bruno Haible  <bruno@clisp.org>
 
+       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.
 
index 1c34d8d239e85185c1ef823acb3c5eb8893fa37b..3d9a37591413ab67a6b88c7282e42970a4a399f9 100644 (file)
@@ -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