From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 2 10:36:15 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CE2C10657E1; Sun, 2 Mar 2008 10:36:15 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 524358FC16; Sun, 2 Mar 2008 10:36:15 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from freefall.freebsd.org (antoine@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m22AaFt7096587; Sun, 2 Mar 2008 10:36:15 GMT (envelope-from antoine@freefall.freebsd.org) Received: (from antoine@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m22AaErL096583; Sun, 2 Mar 2008 10:36:14 GMT (envelope-from antoine) Date: Sun, 2 Mar 2008 10:36:14 GMT Message-Id: <200803021036.m22AaErL096583@freefall.freebsd.org> To: postmaster@sbc.net, antoine@FreeBSD.org, freebsd-bugs@FreeBSD.org, antoine@FreeBSD.org From: antoine@FreeBSD.org Cc: Subject: Re: conf/70048: magic(5) file has a typo at second test for type GLF & GLS X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 10:36:15 -0000 Synopsis: magic(5) file has a typo at second test for type GLF & GLS State-Changed-From-To: open->feedback State-Changed-By: antoine State-Changed-When: Sun Mar 2 10:30:23 UTC 2008 State-Changed-Why: Take and ask for feedback: could you provide pointers to files that are wrongly recognized by file(1) or pointers to descriptions of these file formats? The tests don't seem to be obviously wrong: %%% > printf "glfHeadMagic();" > 1 > printf "AAAA\175\0\0\0" > 2 > printf "AAAA\0\0\0\175" > 3 > printf "glsBeginGLS(" > 4 > printf "AAAA\20\0\0\0" > 5 > printf "AAAA\0\0\0\20" > 6 > file * 1: GLF_TEXT 2: GLF_BINARY_LSB_FIRST 3: GLF_BINARY_MSB_FIRST 4: GLS_TEXT 5: GLS_BINARY_LSB_FIRST 6: GLS_BINARY_MSB_FIRST %%% Responsible-Changed-From-To: freebsd-bugs->antoine Responsible-Changed-By: antoine Responsible-Changed-When: Sun Mar 2 10:30:23 UTC 2008 Responsible-Changed-Why: Take and ask for feedback: could you provide pointers to files that are wrongly recognized by file(1) or pointers to descriptions of these file formats? The tests don't seem to be obviously wrong: %%% > printf "glfHeadMagic();" > 1 > printf "AAAA\175\0\0\0" > 2 > printf "AAAA\0\0\0\175" > 3 > printf "glsBeginGLS(" > 4 > printf "AAAA\20\0\0\0" > 5 > printf "AAAA\0\0\0\20" > 6 > file * 1: GLF_TEXT 2: GLF_BINARY_LSB_FIRST 3: GLF_BINARY_MSB_FIRST 4: GLS_TEXT 5: GLS_BINARY_LSB_FIRST 6: GLS_BINARY_MSB_FIRST %%% http://www.freebsd.org/cgi/query-pr.cgi?pr=70048