bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1688: 23.0.60; ttname returned by system-process-attributes points t


From: richardeng
Subject: bug#1688: 23.0.60; ttname returned by system-process-attributes points to nonexisting file
Date: Sat, 17 Jan 2009 19:51:59 +0800
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Stefan Monnier wrote:
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


  
you mean /dev/tty1 and /dev/tty/1 will exist at the same time?
It won't as I know in linux

procfs_ttyname should return a full path of the ttyname, or at least one function can return the fullpath.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]