Subject: Re: lib/33841: getopt_long results in core dump
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-bugs
Date: 06/27/2006 21:45:02
The following reply was made to PR lib/33841; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov@tut.by>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: lib/33841: getopt_long results in core dump
Date: Wed, 28 Jun 2006 00:44:49 +0300

 This SIGSEGV is fixed in OpenBSD
 
 0 #gcc -o main main.c
 0 #./main -f
 c=102
 0 #./main --foor
 main: unknown option -- foor
 c=63
 0 #gcc -o main main.c
 0 #./main -f
 c=102
 0 #./main --foo 
 c=102
 0 #./main -b   
 main: unknown option -- b
 c=63
 0 #./main --bar
 main: unknown option -- bar
 c=63
 0 #uname -a
 OpenBSD pussy.mgts.local 3.8 GENERIC#607 sparc64
 0 #
 
 -- 
 Best regards, Aleksey Cheusov.