netbsd

Thread-local storage segfaults on NetBSD only?

Trying to run a C++ program, I get segmentation faults which appear to be specific to NetBSD. Bert Hubert wrote the simple test program (at the end of this message) and, indeed, it crashes only on NetBSD. % uname -a NetBSD golgoth 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Oct 1 15:46:16 CEST 2009 +stephane@golgoth:/usr/obj/sys/arch/i386/com...

Bloated echo command

Look at the following implementations of the "echo" command: http://www.openbsd.org/cgi-bin/cvsweb/src/bin/echo/echo.c?rev=1.7;content-type=text%2Fx-cvsweb-markup (OpenBSD) http://cvsweb.netbsd.org/bsdweb.cgi/src/bin/echo/echo.c?rev=1.18&content-type=text/x-cvsweb-markup&only_with_tag=MAIN (NetBSD) http://www.freebsd.org/cgi/cv...