ls panics on binary file
Created by: jhod0
It seems that ls panics on an out-of-range error when given a binary file:
# ls test.wav
assertion failed: index < self.len() in rust/src/libcore/slice.rs:510
Obviously, this isn't ls's intended use, but I assume it should detect test.wav is a binary file and give an informative error message.