Subject: Re: CVS commit: src/lib/libc/gen
To: None <christos@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 10/24/2005 13:53:17
On Saturday 22 October 2005 21:55, Christos Zoulas wrote:
> Module Name:	src
> Committed By:	christos
> Date:		Sat Oct 22 20:55:13 UTC 2005
>
> Modified Files:
> 	src/lib/libc/gen: fts.c
>
> Log Message:
> Instead of special-casing root, special case paths that end with a /,
> so that find foo/ does not print foo//bar. From FreeBSD.

This change breaks dev_mkdb(8)., and hence ttyname(4).

Entries in /var/run/dev.db end up corrupted such that /dev/console 
becomes /dev/onsole. This prevents root login on the console, for 
example, because pam_securetty.so can find no matching entry 
in /etc/ttys.

Cheers, Steve