Subject: Re: bug#1688: 23.0.60; ttname returned by system-process-attributes points to nonexisting file

From: Stefan Monnier <[email-masked]>
Date: Fri, 16 Jan 2009 16:00:45 -0500

> check ISDIR first

It's a good heursitic, but it's still just a heuristic.
You may have a /dev/tty directory and still use /dev/tty1.
Maybe it's better to get rid of the "/dev/" prefix to make it more clear
that it's not really a valid file name.

        Stefan