|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #52095] tar, untar, and unpack errors and incorrect output when TAR_OPTIONS in environment |
| Date: | Sun, 24 Sep 2017 15:16:31 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #1, bug #52095 (project octave):
I had no idea there even was such an environment variable. Certainly saving
and restoring the variable seems like a reasonable solution. Do we even have
to bother restoring? Doesn't Octave always run in its own subprocess and thus
can't affect the wider environment? In that case, we could just use this code
alone without an unwind_protect block to restore the old value.
setenv ("TAR_OPTIONS", "")
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52095>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |