On Mon, Jan 4, 2010 at 4:27 PM, Steve M. Robbins <s...@debian.org> wrote:
> Package: manpages-dev
> Version: 3.23-1
> Severity: normal
>
> Manpage reports a return type of "char*", but string.h from libc6-dev
> (eglibc 2.10.2-2) uses "const char*".

Upstream maintainer here... POSIX/SUS says that the return type is
"char *". I'm reluctant to make any change that makes a tighter
specification than POSIX. But, reading the glibc headers, the
situation isn't 100% clear to me. Can you quote the lines you think
indicate that the return type is "const char *" (bearing in mind that
there are varios conditionals that select among several declarations
of strchr())?

Thanks,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface" http://blog.man7.org/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to