id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking,branch_state,votes 1777,Can't view device files,gotar,,"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 {{{ if (!S_ISREG (st.st_mode)) { mc_close (fd); mcview_show_error (view, _("" Cannot view: not a regular file "")); g_free (view->filename); view->filename = NULL; goto finish; } }}} and we have one problem - calculate filesize. fstat return 0 for block devices... as a workaround, we can use '''ftell''' like this {{{ off_t mc_ftell (int fd) { fseek(fd, 0L, SEEK_END); return ftell(fd); } }}}",enhancement,new,minor,Future Releases,mcview,4.7.0-pre4,,,,,,no branch,