[Bug 736099] New: file misidentifies /usr/bin/gvfs-less
https://bugzilla.novell.com/show_bug.cgi?id=736099 https://bugzilla.novell.com/show_bug.cgi?id=736099#c0 Summary: file misidentifies /usr/bin/gvfs-less Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: SuSE Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: werner@suse.com ReportedBy: bwiedemann@suse.com QAContact: qa@suse.de Found By: Development Blocker: --- I found that file misidentifies /usr/bin/gvfs-less as Palm OS dynamic library data "#!/bin/sh" using grep -2 "Palm OS dynamic" /usr/share/misc/magic I saw that it only checks offset 60 to have "libr" which happens to be true for this shell script. So the pattern appears to be a bit too unspecific. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=736099 https://bugzilla.novell.com/show_bug.cgi?id=736099#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2011-12-12 08:11:50 UTC --- This bug is invalid
cat /usr/bin/gvfs-less | sed 's/^/ /' #!/bin/sh
# Copyright (C) 2006-2007 Red Hat, Inc. # # This library is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, # USA. # # Author: David Zeuthen <davidz@redhat.com> LESSOPEN="|gvfs-cat %s"; export LESSOPEN exec less "$@" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com