public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] S390: Fix non-ascii character in fenv.h.
@ 2020-02-12  8:13 Stefan Liebler
  0 siblings, 0 replies; only message in thread
From: Stefan Liebler @ 2020-02-12  8:13 UTC (permalink / raw)
  To: glibc-cvs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="us-ascii", Size: 1863 bytes --]

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=08aea89ef67c5780ae734073494df0a451bce20f

commit 08aea89ef67c5780ae734073494df0a451bce20f
Author: Stefan Liebler <stli@linux.ibm.com>
Date:   Wed Feb 12 09:10:56 2020 +0100

    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>

Diff:
---
 sysdeps/s390/fpu/bits/fenv.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/s390/fpu/bits/fenv.h b/sysdeps/s390/fpu/bits/fenv.h
index 4038f96..e10d025 100644
--- a/sysdeps/s390/fpu/bits/fenv.h
+++ b/sysdeps/s390/fpu/bits/fenv.h
@@ -73,14 +73,14 @@ typedef unsigned int fexcept_t; /* size of fpc */
 
 
 /* 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
 {
   fexcept_t __fpc;
   void *__unused;
   /* The field __unused (formerly __ieee_instruction_pointer) is a relict from
      commit "Remove PTRACE_PEEKUSER" (87b9b50f0d4b92248905e95a06a13c513dc45e59)
-     and isn´t used anymore.  */
+     and isn't used anymore.  */
 } fenv_t;
 
 /* If the default argument is used we use this value.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-12  8:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12  8:13 [glibc] S390: Fix non-ascii character in fenv.h Stefan Liebler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).