public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5431] New: Duplicate names in /usr/include/signal.h and /usr/include/sys/select.h
@ 2007-11-29  2:47 rkies at cpan dot org
  2007-11-29  3:00 ` [Bug libc/5431] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: rkies at cpan dot org @ 2007-11-29  2:47 UTC (permalink / raw)
  To: glibc-bugs

Not certain if this is a bug or why cpp doesn't report it, but:

/usr/include/signal.h has: #define sigmask(sig) __sigmask(sig)

/usr/include/sys/select.h has: 

extern int pselect (int __nfds, fd_set *__restrict __readfds,
                    fd_set *__restrict __writefds,
                    fd_set *__restrict __exceptfds,
                    const struct timespec *__restrict __timeout,
                    const __sigset_t *__restrict __sigmask);    <========

ISTM that cpp should issue at  least a warning of a redefinition of the 
symbol.

Platform  (output of uname -a):
Linux redhot 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64
x86_64 GNU/Linux

Compiler (output of gcc -v): 
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)

Glibc version is 2.3.4.

-- 
           Summary: Duplicate names in /usr/include/signal.h and
                    /usr/include/sys/select.h
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: rkies at cpan dot org
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x66_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/5431] Duplicate names in /usr/include/signal.h and /usr/include/sys/select.h
  2007-11-29  2:47 [Bug libc/5431] New: Duplicate names in /usr/include/signal.h and /usr/include/sys/select.h rkies at cpan dot org
@ 2007-11-29  3:00 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2007-11-29  3:00 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-11-29 02:59 -------
No, there is no problem and no warning should be issued.  The parameter
declaration doesn't apply to the macro definition since the macro expects
parameters.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-29  3:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-29  2:47 [Bug libc/5431] New: Duplicate names in /usr/include/signal.h and /usr/include/sys/select.h rkies at cpan dot org
2007-11-29  3:00 ` [Bug libc/5431] " drepper 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).