mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-03 12:11:17 +03:00
S390: Fix non-ascii character in fenv.h.
The comment "isn't" contained a non-ascii character which leads to an error if compiled with -finput-charset=ascii: error: failure to convert ascii to UTF-8 This is observable in GCC testsuite: FAIL: 17_intro/headers/c++1998/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2011/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2014/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2017/charset.cc (test for excess errors) FAIL: 17_intro/headers/c++2020/charset.cc (test for excess errors) Also rewrite the comment above. Reported-by: Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
This commit is contained in:
@@ -73,14 +73,14 @@ typedef unsigned int fexcept_t; /* size of fpc */
|
|||||||
|
|
||||||
|
|
||||||
/* Type representing floating-point environment. This function corresponds
|
/* Type representing floating-point environment. This function corresponds
|
||||||
to the layout of the block written by the `fstenv'. */
|
to the layout of the block used by fegetenv and fesetenv. */
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
fexcept_t __fpc;
|
fexcept_t __fpc;
|
||||||
void *__unused;
|
void *__unused;
|
||||||
/* The field __unused (formerly __ieee_instruction_pointer) is a relict from
|
/* The field __unused (formerly __ieee_instruction_pointer) is a relict from
|
||||||
commit "Remove PTRACE_PEEKUSER" (87b9b50f0d4b92248905e95a06a13c513dc45e59)
|
commit "Remove PTRACE_PEEKUSER" (87b9b50f0d4b92248905e95a06a13c513dc45e59)
|
||||||
and isn´t used anymore. */
|
and isn't used anymore. */
|
||||||
} fenv_t;
|
} fenv_t;
|
||||||
|
|
||||||
/* If the default argument is used we use this value. */
|
/* If the default argument is used we use this value. */
|
||||||
|
|||||||
Reference in New Issue
Block a user