This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE
- From: "pelzlpj at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 19 Oct 2011 21:31:29 +0000
- Subject: [Bug libc/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE
- Auto-submitted: auto-generated
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.