octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53695] tar.m and unpack.m are incompatible wi


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #53695] tar.m and unpack.m are incompatible with BSD tar
Date: Mon, 21 Jan 2019 12:33:09 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #20, bug #53695 (project octave):

I'll test on Windows.

> IIRC BSD tar sends some of its output to stderr which broke a few things
here and there in Octave[...]

This patch is handling that by just redirecting BSD tar's stderr to stdout:
"tar cvf %s -C %s %s 2>&1".

That could cause problems if actual error diagnostics were emitted on stderr
during file creation, if there were diagnostics but the file creation
succeeded and returned 0. Not sure what cases those would be, or how they
could be handled, though.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?53695>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]