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]" To: djgpp AT delorie DOT com In-Reply-To: (djgpp AT delorie DOT com) Subject: Re: issue with popen and reading from stdout References: <83o8f4oftm DOT fsf AT gnu DOT org> <83mtuooepe DOT fsf AT gnu DOT org> Reply-To: djgpp AT delorie DOT com > From: "Ozkan Sezer (sezeroz AT gmail DOT com) [via 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).