This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14106] New: _FILE_OFFSET_BITS=64 goes outside standard namespace


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

             Bug #: 14106
           Summary: _FILE_OFFSET_BITS=64 goes outside standard namespace
           Product: glibc
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Building with -D_FILE_OFFSET_BITS=64 uses names that should be in the user's
namespace.  For example,

#include <stdio.h>
#include <stdlib.h>

void fopen64 (void) { abort (); }

int
main (void)
{
  fopen ("/dev/null", "r");
  return 0;
}

built with -std=c99 -D_FILE_OFFSET_BITS=64 on x86 aborts.

All the function redirects for _FILE_OFFSET_BITS=64 should be to functions in
the implementation namespace.  This applies to POSIX interfaces as well as to
ISO C ones.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]