From: Bruno Haible Date: Tue, 9 Sep 2025 10:38:24 +0000 (+0200) Subject: fopen, freopen: Remove support for OSF/1. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=772c6e6b2da7e8f6df2d4982bbf7986048e4cfdd;p=thirdparty%2Fgnulib.git fopen, freopen: Remove support for OSF/1. * lib/fopen.c: Simplify include of . * lib/freopen.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 6535fac548..373509bba1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2025-09-09 Bruno Haible + fopen, freopen: Remove support for OSF/1. + * lib/fopen.c: Simplify include of . + * lib/freopen.c: Likewise. + creat, open, openat: Remove support for OSF/1. * lib/creat.c: Simplify include of . * lib/open.c: Likewise. diff --git a/lib/fopen.c b/lib/fopen.c index 41587d2c05..586f651263 100644 --- a/lib/fopen.c +++ b/lib/fopen.c @@ -33,13 +33,7 @@ orig_fopen (const char *filename, const char *mode) } /* Specification. */ -#ifdef __osf__ -/* Write "stdio.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates - this include because of the preliminary #include above. */ -# include "stdio.h" -#else -# include -#endif +#include #include #include diff --git a/lib/freopen.c b/lib/freopen.c index b65b7cf851..b0a26eaa17 100644 --- a/lib/freopen.c +++ b/lib/freopen.c @@ -35,13 +35,7 @@ orig_freopen (const char *filename, const char *mode, FILE *stream) } /* Specification. */ -#ifdef __osf__ -/* Write "stdio.h" here, not , otherwise OSF/1 5.1 DTK cc eliminates - this include because of the preliminary #include above. */ -# include "stdio.h" -#else -# include -#endif +#include #include #include