Date: Sun, 2 Mar 2008 10:36:14 GMT From: antoine@FreeBSD.org To: postmaster@sbc.net, antoine@FreeBSD.org, freebsd-bugs@FreeBSD.org, antoine@FreeBSD.org Subject: Re: conf/70048: magic(5) file has a typo at second test for type GLF & GLS Message-ID: <200803021036.m22AaErL096583@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803021036.m22AaErL096583>