"Kim B. Heino" <Kim.Heino@bluegiga.com> reports
"Kim B. Heino" <Kim.Heino@bluegiga.com> reports

	In the libc/stdlib/bsd_getpt.c file you have line:

	memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1);

	It really should be:

	memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) );

	The last nul character must be copied too because the next line uses
	strlen() to get buf's length.

joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc,joel-porquet/tsar-uclibc