1
0
mirror of git://git.suckless.org/ubase synced 2025-04-11 03:31:31 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
sin
a7a561ef00 Handle cleanup properly in ttytostr() 2015-01-16 16:10:38 +00:00
sin
8a95422ff1 Check if the ttymaj/ttymin match is actually a tty 2015-01-16 16:10:37 +00:00
sin
d76319f838 Properly match (ttymaj, ttymin) pairs to tty names in /dev
For the common case where we have pts/ or tty do it straight
away.  Otherwise traverse /dev for a match.  This fixes ps(1) when
it is executed over a serial terminal with tty names like ttyAMA0.
2015-01-16 15:55:07 +00:00
sin
ae7aafc127 Rename util/ to libutil/ 2014-11-29 21:46:47 +00:00