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 Message-ID: <5A95B0B37820D511AD1500B0D0AADF774DDE4C@lbsvnt4> From: "Strohhaecker, Bernd" To: cygwin AT sources DOT redhat DOT com Subject: Re: Editing zipped files with VIM under cygwin Date: Tue, 13 Nov 2001 15:44:51 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fADF6PI16291 > -----Ursprüngliche Nachricht----- > Von: Corinna Vinschen [SMTP:cygwin AT cygwin DOT com] > Gesendet am: Dienstag, 13. November 2001 14:01 > An: cygwin AT cygwin DOT com > Betreff: Re: Editing zipped files with VIM under cygwin > > On Tue, Nov 13, 2001 at 12:03:19PM +0100, Strohhaecker, Bernd wrote: > > let e = executable(name) > > This fails on my (cygwin-)system for any program: > > :echo executable("bash") > > Rufe Shell auf, um "(which bash) >/tmp/v645258/1 2>&1" auszuführen > > > > Datei "/tmp/v645258/1" kann nicht gelesen werden-1 > > Did you install the which package? `which' is not a bash > internal command. Yes, I've installed latest/which/which-1.4.tar.gz > > 2. 'bzip2 --version > xx' doesn't finish. > > I can reproduce that but don't know why that happens, currently. > > Corinna > -----Ursprüngliche Nachricht----- > Von: Michael Schaap [SMTP:cygwin AT mscha DOT com] > Gesendet am: Dienstag, 13. November 2001 14:35 > An: cygwin AT cygwin DOT com > Betreff: Re: Editing zipped files with VIM under cygwin > > ... > > As you can see, the --version flag doesn't stop bzip2 from trying to > compress standard input. > Possible workarounds: > > $bzip2 --version --help 2>qqq > > $bzip2 --version /dev/null 2>qqq > > - Michael Yes, thanks, taking a look at bzip2.c shows, that there's simply no exit-call after displaying the license. Is the following patch reasonable ? -- Bernd $ diff -u bzip2.c.org bzip2.c --- bzip2.c.org Tue Nov 13 14:43:09 2001 +++ bzip2.c Tue Nov 13 14:44:20 2001 @@ -1632,6 +1632,7 @@ " \n", BZ2_bzlibVersion() ); + exit(1); } -- 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/