Bug 70048

Summary: magic(5) file has a typo at second test for type GLF & GLS
Product: Base System Reporter: Postmaster <postmaster>
Component: confAssignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Postmaster 2004-08-05 23:20:18 UTC
magic(5) file has a typo at second test for type GLF & GLS
The second test is not preceded with >

Fix: 

edit magic and make magic.mgc
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2008-03-02 10:30:23 UTC
State Changed
From-To: open->feedback

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 "AAAA175000" > 2 
> printf "AAAA000175" > 3 
> printf "glsBeginGLS(" > 4 
> printf "AAAA20000" > 5 
> printf "AAAA00020" > 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 
%%% 


Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2008-03-02 10:30:23 UTC
Responsible Changed
From-To: freebsd-bugs->antoine

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 "AAAA175000" > 2 
> printf "AAAA000175" > 3 
> printf "glsBeginGLS(" > 4 
> printf "AAAA20000" > 5 
> printf "AAAA00020" > 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 
%%%
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2008-04-02 19:04:38 UTC
State Changed
From-To: feedback->closed

Close: I don't think there is a bug + feedback timeout (1 month).