octave-maintainers
[Top][All Lists]
Advanced

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

Re: Bug in bug_report


From: Andreas Weingessel
Subject: Re: Bug in bug_report
Date: Thu, 22 May 1997 08:54:05 +0200

>>>>> On Wed, 21 May 1997 11:50:59 -0500,
>>>>> John W Eaton wrote:

> On 21-May-1997, Andreas Weingessel <address@hidden> wrote:
> | To: address@hidden
> | Subject: Bug in bug_report
> | 
> | Bug report for Octave 2.0.5.90 configured for i586-pc-linux-gnu
> | 
> | Description:
> | -----------
> | 
> | After sending or aborting a bug report octave prints a temporary file
> | name several times.

> Please try the following patch.

This patch works fine,
        thanks
                Andreas Weingessel


> Thanks,

> jwe


> Wed May 21 11:45:31 1997  John W. Eaton  <address@hidden>

>       * miscellaneous/bug_report.m: Pass file id to dump_prefs, not file
>       name.


> diff -c -r1.16 bug_report.m
> *** bug_report.m        1997/03/27 16:19:07     1.16
> --- bug_report.m        1997/05/21 16:46:11
> ***************
> *** 42,50 ****
>       prefs = tmpnam ();
  
>       if (! isempty (prefs))
> !       fopen (prefs, "w");
> !       dump_prefs (prefs);
> !       fclose (prefs);
>       endif
  
>       cmd = strcat (OCTAVE_HOME, "/bin/octave-bug");
> --- 42,52 ----
>       prefs = tmpnam ();
  
>       if (! isempty (prefs))
> !       fid = fopen (prefs, "w");
> !       if (fid > 0)
> !         dump_prefs (fid);
> !         fclose (fid);
> !       endif
>       endif
  
>       cmd = strcat (OCTAVE_HOME, "/bin/octave-bug");


reply via email to

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