delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2021/03/27/11:16:26

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Sat, 27 Mar 2021 18:16:26 +0300
Message-Id: <83lfa8ocdx.fsf@gnu.org>
From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
In-Reply-To:
<CAA2C=vD5-Vy51OX+zq8pxrNnL5NCBk4qKq7812v_nsnbG0iHSA AT mail DOT gmail DOT com>
(djgpp AT delorie DOT com)
Subject: Re: issue with popen and reading from stdout
References: <CAA2C=vDMw+wQsbxDkYcXsPgdqeUMDNwz7-NCujx+G11M1vpmzg AT mail DOT gmail DOT com>
<83o8f4oftm DOT fsf AT gnu DOT org> <CAA2C=vCGH8k2CGEnNXrfZq7CcEExOOrX5TRh0+Kt94f5Oc_g2g AT mail DOT gmail DOT com>
<83mtuooepe DOT fsf AT gnu DOT org> <CAA2C=vD5-Vy51OX+zq8pxrNnL5NCBk4qKq7812v_nsnbG0iHSA AT mail DOT gmail DOT com>
Reply-To: djgpp AT delorie DOT com

> From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com>
> Date: Sat, 27 Mar 2021 17:48:25 +0300
> 
> >> OK, so it's possibly an issue with unrar itself
> >
> > You expected unrar to produce lines with a single 0x0a at the end of
> > each line?  That's extremely unusual with DOS/Windows programs.
> 
> The archived file is binary not a text, although unrar might have screwed up.

If "unrar -p" is supposed to output the archived file to stdout, then
unrar should do that in binary mode; if it doesn't, that's a bug
(possibly in the DOS port).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019