Guido van Rossum wrote:
I don't have the OpenBSD strchr.c source code online here so I'll stop speculating here...
It's this:
http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/index.c
I can't see anything wrong in it, and it hasn't significantly changed in ages, either.
I'd be curious what p_name points to when the process crashes.
(gdb) p *p_name
Regards, Martin