Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Mon, 3 Sep 2001 12:36:02 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: press for cygwin Message-ID: <20010903123602.B2373@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <3B939A12 DOT 5040009 AT ece DOT gatech DOT edu> <17B78BDF120BD411B70100500422FC6309E334 AT IIS000> <3B939A12 DOT 5040009 AT ece DOT gatech DOT edu> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20010903174134 DOT 02c8ae40 AT imap DOT local DOT mscha DOT com> <20010903120301 DOT A2259 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.21i On Mon, Sep 03, 2001 at 06:30:19PM +0200, Andrew Markebo wrote: > >| I mentioned the magic number method. That would actually work. That is >| why I suggested it. > >Just a thought, doesn't gzip and bzip2 have 'magic numbers' already? >The first two bytes in the files is "BZ" or "GZ"? Hmm checked a >bzip2-file, it has BZ in the beginning, couldn't see similar in >gzip.. ahh well.. There is a program on UNIX called "file". It is able to detect the difference between bzip2 and gzip files just fine. I am not advocating that we add our own magic numbers. I do still want to enable people who KNOW WHAT THEY ARE DOING to be able to uncompress the files without resorting to setup.exe. I am talking about using an existing mechanism to detect the files. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/