public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE
@ 2011-10-19 21:32 pelzlpj at gmail dot com
2011-10-20 3:01 ` [Bug libc/13324] " bugdal at aerifal dot cx
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: pelzlpj at gmail dot com @ 2011-10-19 21:32 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/13324] sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE
2011-10-19 21:32 [Bug libc/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE pelzlpj at gmail dot com
@ 2011-10-20 3:01 ` bugdal at aerifal dot cx
2011-10-23 21:00 ` drepper.fsp at gmail dot com
2014-06-27 11:51 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: bugdal at aerifal dot cx @ 2011-10-20 3:01 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13324
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #1 from Rich Felker <bugdal at aerifal dot cx> 2011-10-20 03:00:26 UTC ---
In fairness, sys/mount.h is not a standard libc header, and few programs except
"mount" have any business including it in the first place... If you want this
addressed I think you'd better describe the real world situation you're
encountering (what sort of program is including sys/mount.h, for what purpose,
and whether it's including it just in one specific module that uses it or in
all modules perhaps implicitly through nested includes, etc.). My prediction
though is that this one will be RESOLVED/INVALID in a hurry...
--
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/13324] sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE
2011-10-19 21:32 [Bug libc/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE pelzlpj at gmail dot com
2011-10-20 3:01 ` [Bug libc/13324] " bugdal at aerifal dot cx
@ 2011-10-23 21:00 ` drepper.fsp at gmail dot com
2014-06-27 11:51 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-10-23 21:00 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=13324
Ulrich Drepper <drepper.fsp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-10-23 20:59:44 UTC ---
(In reply to comment #0)
> 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.
Even if I would agree, there is no reason to break existing programs. The API
must be stable.
--
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libc/13324] sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE
2011-10-19 21:32 [Bug libc/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE pelzlpj at gmail dot com
2011-10-20 3:01 ` [Bug libc/13324] " bugdal at aerifal dot cx
2011-10-23 21:00 ` drepper.fsp at gmail dot com
@ 2014-06-27 11:51 ` fweimer at redhat dot com
2 siblings, 0 replies; 4+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 11:51 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=13324
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-27 11:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-19 21:32 [Bug libc/13324] New: sys/mount.h on linux defines poorly-namespaced macro BLOCK_SIZE pelzlpj at gmail dot com
2011-10-20 3:01 ` [Bug libc/13324] " bugdal at aerifal dot cx
2011-10-23 21:00 ` drepper.fsp at gmail dot com
2014-06-27 11:51 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).