Can't view device files #1777
Labels
area: mcview
mcview, the built-in text editor
prio: low
Minor problem or easily worked around
ver: 4.7.0-pre4
Reproducible in version 4.7.0-pre4
Milestone
Important
This issue was migrated from Trac:
gotar
(gotar@….pl)Trying to view some device an error is reported:
Cannot view: not a regular file
In my opinion this should be only a warning and such operation could continue if desired as it worked a long time and a few versions before.
...
now it's forbidden
and we have one problem - calculate filesize.
fstat return 0 for block devices...
as a workaround, we can use ftell like this
The text was updated successfully, but these errors were encountered: