Re: Suggestion for file type detection approach
- From: iain <iain prettypeople org>
- To: Fabio Gomes <bugtraq gs2 com br>
- Cc: nautilus-list gnome org, gnome-list gnome org, gnome-devel-list gnome org, gnome-vfs-list gnome org
- Subject: Re: Suggestion for file type detection approach
- Date: Thu, 25 Dec 2003 17:55:35 +0000
On Thu, 2003-12-25 at 14:48 -0300, Fabio Gomes wrote:
However...
> DETECTION BY SUFFIX
> 1.Allows wrong results on invalid input (files with wrong
> suffixes)
Cannot be fixed to run correctly.
> DETECTION BY SNIFFING
> 1.Allows wrong results on _valid_ input (files with correct
> suffix and funny contents)
Can be fixed to run correctly.
Which is more common
a) Files which are badly named?
b) Files which are funny and nautilus sniffs the wrong thing?
iain
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]