[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38648] Restore STDERR stream pipe before exit
From: |
Dan Sebald |
Subject: |
[Octave-bug-tracker] [bug #38648] Restore STDERR stream pipe before exit to capture error messages. |
Date: |
Tue, 02 Apr 2013 06:53:12 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15 |
URL:
<http://savannah.gnu.org/bugs/?38648>
Summary: Restore STDERR stream pipe before exit to capture
error messages.
Project: GNU Octave
Submitted by: sebald
Submitted on: Tue 02 Apr 2013 06:53:11 AM GMT
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Crash
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
The attached changeset is a small patch which will store the STDERR_FILENO
pipe so that it may be restored at exit. This will allow any errors occurring
at exit to be posted in a terminal if that is where Octave was launched from.
Otherwise any exit error messages get displayed in the GUI terminal window and
are gone unnoticed along with the closing of the Qt main window.
This isn't necessarily a bug, but in some sense it helps to uncover bugs. For
example, I was finding a bug at exit that was going unnoticed. Turns out in
the past couple weeks it was fixed by someone else. (The _terminal was being
deleted twice.) Nevertheless, the attached change would have been helpful
from the original onset of the bug.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 02 Apr 2013 06:53:11 AM GMT Name:
octave-unix_terminal-2013apr02.patch Size: 3kB By: sebald
<http://savannah.gnu.org/bugs/download.php?file_id=27745>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38648>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #38648] Restore STDERR stream pipe before exit to capture error messages.,
Dan Sebald <=