Bug#561023: marked as done (libc6-dev: dirent.h scandir() has wrong function prototype)
Your message dated Sun, 13 Dec 2009 20:45:36 +0100
with message-id <20091213194536.GF24729@hall.aurel32.net>
and subject line Re: Bug#561023: libc6-dev: dirent.h scandir() has wrong function prototype
has caused the Debian Bug report #561023,
regarding libc6-dev: dirent.h scandir() has wrong function prototype
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--
561023: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561023
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6-dev
Version: 2.7-18
Severity: minor
In /usr/include/dirent.h, the fourth and final argument of
scandir() is prototyped to be
int (*)(const void *, const void *).
However, the manpage documents it to be
int (*)(const struct dirent **, const struct dirent **)
Sadly, the difference appears to cause GCC 4.3.2 to emit a
warning on correct use, even without -Wall.
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (990, 'stable'), (150, 'unstable'), (150, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libc6-dev depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii linux-libc-dev 2.6.26-19 Linux support headers for userspac
Versions of packages libc6-dev recommends:
ii gcc [c-compiler] 4:4.3.2-2 The GNU C compiler
ii gcc-2.95 [c-compiler] 1:2.95.4-27 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.6-15 The GNU C compiler
ii gcc-4.1 [c-compiler] 4.1.2-25 The GNU C compiler
ii gcc-4.2 [c-compiler] 4.2.4-6 The GNU C compiler
ii gcc-4.3 [c-compiler] 4.3.2-1.1 The GNU C compiler
Versions of packages libc6-dev suggests:
ii glibc-doc 2.7-18 GNU C Library: Documentation
ii manpages-dev 3.05-1 Manual pages about using GNU/Linux
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.10.1-1
On Sun, Dec 13, 2009 at 10:54:34AM -0800, Bart Massey wrote:
> Package: libc6-dev
> Version: 2.7-18
> Severity: minor
>
>
> In /usr/include/dirent.h, the fourth and final argument of
> scandir() is prototyped to be
>
> int (*)(const void *, const void *).
>
> However, the manpage documents it to be
>
> int (*)(const struct dirent **, const struct dirent **)
>
> Sadly, the difference appears to cause GCC 4.3.2 to emit a
> warning on correct use, even without -Wall.
>
Marking the bug as fixed in 2.10.1-1.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
--- End Message ---
Reply to: