[Bug libc/17585] New: locale memmem namespace

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Tue Nov 11 22:01:00 GMT 2014


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

            Bug ID: 17585
           Summary: locale memmem namespace
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com

Locale code, brought in by ISO C functions, calls memmem, which is not an ISO C
function.  This isn't an ISO C conformance bug, because all mem* names are
reserved, but glibc practice is not to rely on that reservation (thus, memmem
is only declared in string.h if __USE_GNU even though ISO C would allow it to
be declared unconditionally, for example).

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



More information about the Glibc-bugs mailing list