[ANNOUNCEMENT] Updated: cygwin-1.7.10-1
jojelino
jojelino@gmail.com
Tue Feb 7 10:00:00 GMT 2012
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
C:\>base64 oso|base64 -d -
base64: write error: Bad file descriptor
base64: write error
C:\>base64 oso|base64 -d -
base64: write error: Bad file descriptor
base64: write error
C:\>base64 oso|base64 -d -
base64: write error: Bad file descriptor
base64: write error
empty file always worked.
for non-empty file it does worked or not.
strace for base64 -d solved the write error. so i couldn't figure it out
quite well.
--
Regards.
--
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
More information about the Cygwin
mailing list