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 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org