X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 7 Feb 2012 12:21:59 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: cygwin-1.7.10-1 Message-ID: <20120207112159.GB21475@calimero.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <4F30C98B DOT 1090405 AT dancol DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 Feb 7 19:01, jojelino wrote: > 2012-02-07 PM 3:49, Daniel Colascione 쓴 글: > >On 2/6/12 8:35 PM, jojelino wrote: > >>2012-02-06 AM 1:29, Corinna Vinschen 쓴 글: > >>>Hi Cygwin friends and users, > >>> > >> > >>C:\Documents and Settings\Administrator>base64 oso|base64 -d - > >>base64: write error: Bad file descriptor > >>base64: write error > >> > >>C:\Documents and Settings\Administrator>uname -a > >>CYGWIN_NT-5.2 1.7.10s(0.259/5/3) 20120202 16:59:00 i686 Cygwin > >> > >>please check this problem. > > > >Worksforme after creating a file called "oso". > > (And if I don't have > >such a file, the command fails in the expected way.) > > > sorry for confusion > > rem make empty file > C:\>touch boa > > C:\>base64 boa|base64 -d - > rem make non empty file > C:\>echo blahblah >oso > > C:\>base64 boa|base64 -d - > > C:\>base64 boa|base64 -d - > > C:\>base64 oso|base64 -d - > blahblah > > C:\>base64 oso|base64 -d - > base64: write error: Bad file descriptor > base64: write error Looks like this happens if the pipe has not been created by a Cygwin process (cmd.exe in this case). For the time being, start that from a real shell, like bash or tcsh. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple