conf/70048: magic(5) file has a typo at second test for type GLF & GLS

antoine at FreeBSD.org antoine at FreeBSD.org
Sun Mar 2 10:36:15 UTC 2008


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


More information about the freebsd-bugs mailing list