public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/15036] New: WCHAR_MIN and WCHAR_MAX incorrect for some architectures
@ 2013-01-18 20:51 jsm28 at gcc dot gnu.org
  2013-01-23  0:46 ` [Bug libc/15036] " jsm28 at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-01-18 20:51 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15036

             Bug #: 15036
           Summary: WCHAR_MIN and WCHAR_MAX incorrect for some
                    architectures
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Except for x86, __WCHAR_MIN and __WCHAR_MAX in bits/wchar.h have definitions
that are only correct when wchar_t is int.  This means they have incorrect
values when it is unsigned (ARM, AArch64) and incorrect type (int instead of
long) when it is long (m68k, hppa, 32-bit powerpc, sh, I think based on
examining GCC headers).

Testing a patch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/15036] WCHAR_MIN and WCHAR_MAX incorrect for some architectures
  2013-01-18 20:51 [Bug libc/15036] New: WCHAR_MIN and WCHAR_MAX incorrect for some architectures jsm28 at gcc dot gnu.org
@ 2013-01-23  0:46 ` jsm28 at gcc dot gnu.org
  2013-05-30 14:35 ` yann at droneaud dot fr
  2014-06-13 17:35 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-01-23  0:46 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15036

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Joseph Myers <jsm28 at gcc dot gnu.org> 2013-01-23 00:45:45 UTC ---
Fixed for 2.18 by:

commit 052aff95782fefe9c63566471063e8b20836bfb8
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jan 23 00:42:51 2013 +0000

    Make bits/wchar.h correct for all architectures (bug 15036).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/15036] WCHAR_MIN and WCHAR_MAX incorrect for some architectures
  2013-01-18 20:51 [Bug libc/15036] New: WCHAR_MIN and WCHAR_MAX incorrect for some architectures jsm28 at gcc dot gnu.org
  2013-01-23  0:46 ` [Bug libc/15036] " jsm28 at gcc dot gnu.org
@ 2013-05-30 14:35 ` yann at droneaud dot fr
  2014-06-13 17:35 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: yann at droneaud dot fr @ 2013-05-30 14:35 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=15036

Yann Droneaud <yann at droneaud dot fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann at droneaud dot fr

--- Comment #2 from Yann Droneaud <yann at droneaud dot fr> ---
*** Bug 15551 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/15036] WCHAR_MIN and WCHAR_MAX incorrect for some architectures
  2013-01-18 20:51 [Bug libc/15036] New: WCHAR_MIN and WCHAR_MAX incorrect for some architectures jsm28 at gcc dot gnu.org
  2013-01-23  0:46 ` [Bug libc/15036] " jsm28 at gcc dot gnu.org
  2013-05-30 14:35 ` yann at droneaud dot fr
@ 2014-06-13 17:35 ` fweimer at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 17:35 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=15036

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-06-13 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-18 20:51 [Bug libc/15036] New: WCHAR_MIN and WCHAR_MAX incorrect for some architectures jsm28 at gcc dot gnu.org
2013-01-23  0:46 ` [Bug libc/15036] " jsm28 at gcc dot gnu.org
2013-05-30 14:35 ` yann at droneaud dot fr
2014-06-13 17:35 ` fweimer at redhat dot com

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).