Add a workaround for file.ftell() to raise IOError for ttys.
ftell(3) on BSD doesn't set errno even for ttys and returns useless values.
H
Hye-Shik Chang committed
e237d50390433a4d38944221a6c3280cc6940d9e
Parent: 50f8169
ftell(3) on BSD doesn't set errno even for ttys and returns useless values.