From nobody@FreeBSD.org  Thu Aug  5 22:18:55 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C076A16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2004 22:18:55 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A80C043D2F
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  5 Aug 2004 22:18:55 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i75MItHw071479
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 5 Aug 2004 22:18:55 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i75MItYS071478;
	Thu, 5 Aug 2004 22:18:55 GMT
	(envelope-from nobody)
Message-Id: <200408052218.i75MItYS071478@www.freebsd.org>
Date: Thu, 5 Aug 2004 22:18:55 GMT
From: Postmaster <postmaster@sbc.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: magic(5) file has a typo at second test for type GLF & GLS
X-Send-Pr-Version: www-2.3

>Number:         70048
>Category:       conf
>Synopsis:       magic(5) file has a typo at second test for type GLF & GLS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    antoine
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 05 22:20:18 GMT 2004
>Closed-Date:    Wed Apr 02 18:05:33 UTC 2008
>Last-Modified:  Wed Apr 02 18:05:33 UTC 2008
>Originator:     Postmaster
>Release:        4.10
>Organization:
>Environment:
FreeBSD  4.10-RELEASE FreeBSD 4.10-RELEASE #1: Wed Jun 23 16:44
0 CDT 2004     root@:/usr/obj/usr/src/sys/ i386        

>Description:
magic(5) file has a typo at second test for type GLF & GLS
The second test is not preceded with >
>How-To-Repeat:
      
>Fix:
edit magic and make magic.mgc
>Release-Note:
>Audit-Trail:
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 "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 
%%% 


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 "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 
%%% 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70048 
State-Changed-From-To: feedback->closed 
State-Changed-By: antoine 
State-Changed-When: Wed Apr 2 18:04:38 UTC 2008 
State-Changed-Why:  
Close: I don't think there is a bug + feedback timeout (1 month). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70048 
>Unformatted:
