Ticket #2229 (new defect) — at Version 4

Opened 14 years ago

Last modified 12 years ago

MC viewer doesn't like some files [2 bugs here]

Reported by: birdie Owned by:
Priority: major Milestone: Future Releases
Component: mcview Version: master
Keywords: Cc: gotar@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

Test case:

$ dd if=/dev/zero of=test bs=128M count=1

  1. Try to open this file when the viewer warp mode is set to "Wrap", it will take too much time (21 seconds here, which is unacceptable).
  1. Try to jump to the end of such a file when the viewer wrap mode is set to "No Wrap", it will take too much time (I have killed MC after 75 seconds).

So, actually we have too problems/bugs here.

Change History

comment:1 follow-ups: ↓ 3 ↓ 4 Changed 14 years ago by angel_il

Test case:

$ dd if=/dev/zero of=test bs=128M count=1

  1. Try to open this file when the viewer warp mode is set to "Warp", it will take too >much time (21 seconds here, which is unacceptable).

it's no mc bug, update your "file" utility
see also
http://www.midnight-commander.org/ticket/1427
http://www.midnight-commander.org/ticket/2185

comment:2 Changed 14 years ago by angel_il

about
"2. Try to jump to the end of such a file when the viewer warp mode is set to "No Warp", it will take too much time (I have killed MC after 75 seconds)."

i dont know how to find '\n' without test each symbols...

comment:3 in reply to: ↑ 1 Changed 14 years ago by birdie

Replying to angel_il:

it's no mc bug, update your "file" utility

No, I'm on Fedora 13, 'file' is really new here:

$ time file test
test: data

real    0m0.063s
user    0m0.007s
sys     0m0.003s

So, it seems like the first part of this bug has nothing to do with the 'file' utility. Have you actually tried to reproduce it?

comment:4 in reply to: ↑ 1 Changed 14 years ago by andrew_b

  • Description modified (diff)

Replying to angel_il:

it's no mc bug, update your "file" utility

Unfortunately, it's a bug of MC not 'file'.

birdie: s/warp/wrap ? :)

Note: See TracTickets for help on using tickets.