binaryornot icon indicating copy to clipboard operation
binaryornot copied to clipboard

Failed to read for FIFO file.

Open soimkim opened this issue 3 years ago • 1 comments

Failed to read for FIFO file .

If is_binary() is called on the fifo file as shown below, it stops without returning any result.

 from binaryornot.check import is_binary
>>> is_binary('test.fifo')

soimkim avatar Sep 29 '21 06:09 soimkim

This is a case where IMHO it should skip trying to open FIFO and character devices entirely... And report these as either binary or nothing or some third kind of sorts.

pombredanne avatar Sep 03 '22 16:09 pombredanne