public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/12631] New: wcp[n]cpy are required by POSIX 2008
@ 2011-04-01 21:43 eblake at redhat dot com
  2011-04-01 22:37 ` [Bug libc/12631] " drepper.fsp at gmail dot com
  2014-06-27 13:17 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: eblake at redhat dot com @ 2011-04-01 21:43 UTC (permalink / raw)
  To: glibc-bugs

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

           Summary: wcp[n]cpy are required by POSIX 2008
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: eblake@redhat.com


$ printf '#include <wchar.h>\n' | gcc -D_POSIX_C_SOURCE=200809L -E -\
  | grep 'wcpn\?cpy'
$ printf '#include <wchar.h>\n' | gcc -D_GNU_SOURCE=1 -E -\
  | grep 'wcpn\?cpy'
extern wchar_t *wcpcpy (wchar_t *__restrict __dest,
extern wchar_t *wcpncpy (wchar_t *__restrict __dest,
$

Oops - POSIX 2008 requires these declarations:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/wcpcpy.html

http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=dbb0472f removed them in
error.  Yes, they should _not_ be visible when going for strict ANSI
compliance, but that's the point of _POSIX_C_SOURCE - to request POSIX
extensions to ANSI C.

-- 
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] 3+ messages in thread

* [Bug libc/12631] wcp[n]cpy are required by POSIX 2008
  2011-04-01 21:43 [Bug libc/12631] New: wcp[n]cpy are required by POSIX 2008 eblake at redhat dot com
@ 2011-04-01 22:37 ` drepper.fsp at gmail dot com
  2014-06-27 13:17 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-04-01 22:37 UTC (permalink / raw)
  To: glibc-bugs

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

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

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-04-01 22:37:03 UTC ---
Changed in git.

-- 
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] 3+ messages in thread

* [Bug libc/12631] wcp[n]cpy are required by POSIX 2008
  2011-04-01 21:43 [Bug libc/12631] New: wcp[n]cpy are required by POSIX 2008 eblake at redhat dot com
  2011-04-01 22:37 ` [Bug libc/12631] " drepper.fsp at gmail dot com
@ 2014-06-27 13:17 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:17 UTC (permalink / raw)
  To: glibc-bugs

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

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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-01 21:43 [Bug libc/12631] New: wcp[n]cpy are required by POSIX 2008 eblake at redhat dot com
2011-04-01 22:37 ` [Bug libc/12631] " drepper.fsp at gmail dot com
2014-06-27 13:17 ` 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).