X-Spam-Check-By: sourceware.org Date: Wed, 6 Dec 2006 20:51:26 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: printf '\377\376h\000\r\000\n\000'|file - #wrong result? Message-ID: <20061206195126.GU9829@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200612042047 DOT kB4KlhcV005862 AT tigris DOT pounder DOT sol DOT net> <200612061908 DOT kB6J8Yuq021359 AT tigris DOT pounder DOT sol DOT net> <45771B3D DOT 6080609 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45771B3D.6080609@cygwin.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Dec 6 14:34, Larry Hall (Cygwin) wrote: > Tom Rodman wrote: > >Maybe not a new problem, but this older (flame me) cygwin version works > >better: No, not "better", "different". Newer versions of file happen to know about new file types which older versions of file don't. file-4.16 recognizes the "header" of your string as the magic nuber of an MPEG ADTS, layer I, v1, 192 kBits, 32 kHz, Stereo file. Again, file is using large lists of file header and typical content information of many different file types. The result of file is NOT the ultimate truth, but an aproximation based on the data files. > > > > ~ $ date;uname -a #box in Bangalore > > Thu Dec 7 00:51:35 IST 2006 > > CYGWIN_NT-5.0 XXXblr001 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown > > unknown Cygwin > > ~ $ cygcheck -c file > > Cygwin Package Information > > Package Version > > file 3.39-1 > > > > Use -h to see help about each section > > ~ $ printf '\377\376h\000\r\000\n\000'|file - > > standard input: Little-endian UTF-16 Unicode character > > data, with CR line terminators > > ~ $ > > > >I understand this is low priority.. Thanks as always for cygwin! > > > This is a change (or bug) in 'file', not Cygwin. I get the same thing as > you > do with Cygwin's version on FC4. If you think there is an issue here, you > should take it upstream. Right, I was going to mention the same thing. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/