[Pkg-phototools-devel] Bug#554494: Bug#554494: pfstools: diff for NMU version 1.8.1-1.1

Guillem Jover guillem at debian.org
Mon Dec 21 12:08:34 UTC 2009


On Mon, 2009-12-21 at 10:49:32 +0100, Guillem Jover wrote:
> [...] (arguably strchr should have a return type of ‘const char *’,
> which would not have allowed this to happen in the first place),

Errr, actually, that's not correct, the signature is the way it is so
that one can pass a ‘char *’ knowing strchr will not modify it
internally, but being able to modify the contents of the returned
pointer.

regards,
guillem





More information about the Pkg-phototools-devel mailing list