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/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE


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

             Bug #: 13324
           Summary: sys/mount.h on linux defines poorly-namespaced macro
                    BLOCK_SIZE
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: pelzlpj@gmail.com
    Classification: Unclassified


sysdeps/unix/sysv/linux/sys/mount.h includes the following macro definitions:

    #define BLOCK_SIZE      1024
    #define BLOCK_SIZE_BITS 10

Both of these names, especially BLOCK_SIZE, are quite likely to be found in a
wide variety of code bases.  They are too generic to be safely defined in a
libc header.

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