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/12836] New: fmemopen(buf,size,"w+b") isn't binary


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

           Summary: fmemopen(buf,size,"w+b") isn't binary
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: eblake@redhat.com


The documented behavior of fmemopen behaving in binary mode if 'b' was present
in mode does not actually happen if 'b' is not in mode[1].  For consistency
with fopen and friends, 'wb+' and 'w+b' should have identical effect.

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