bugPSPP - Bugs: bug #26379, Issue with Cygwin

 
 

bug #26379: Issue with Cygwin

Submitter:  Harry Thijssen <unknown_one>
Submitted:  Tue 28 Apr 2009 07:28:01 AM UTC
   
 
Category:  Compilation/Portability Severity:  5 - Average
Status:  Fixed Assigned to:  None
Open/Closed:  Closed Release:  None
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 28 Apr 2009 11:43:34 PM UTC, comment #2: 

I pushed a fix for this.

John Darrington <jmd>
Group administrator
Tue 28 Apr 2009 07:34:08 AM UTC, comment #1: 

I forgot to mention, this is only available in the master (and merge) version.

Harry Thijssen <unknown_one>
Tue 28 Apr 2009 07:28:01 AM UTC, original submission:  

Hi

../src/ui/gui/psppire-output-window.c contains an error. "ov->" should most likely be "ow->".

A path provided by Michel Boaventura is:

> diff --git a/src/ui/gui/psppire-output-window.c
> b/src/ui/gui/psppire-output-window.c
> index 986742d..306fa66 100644
> --- a/src/ui/gui/psppire-output-window.c
> +++ b/src/ui/gui/psppire-output-window.c
> @@ -325,16 +325,16 @@ reload_viewer (PsppireOutputWindow *ow)
>       }
>
>     /* Delete all the entire buffer */
> -    gtk_text_buffer_get_start_iter (ov->buffer, &start_iter);
> -    gtk_text_buffer_delete (ov->buffer, &start_iter, &end_iter);
> +    gtk_text_buffer_get_start_iter (ow->buffer, &start_iter);
> +    gtk_text_buffer_delete (ow->buffer, &start_iter, &end_iter);
>
>
> -    gtk_text_buffer_get_start_iter (ov->buffer, &start_iter);
> +    gtk_text_buffer_get_start_iter (ow->buffer, &start_iter);
>     /* Read in the next lot of text */
>     while (fgets (line, viewer_width + 1, fp) != NULL)
>       {
>  chars_inserted = TRUE;
> - gtk_text_buffer_insert (ov->buffer, &start_iter, line, -1);
> + gtk_text_buffer_insert (ow->buffer, &start_iter, line, -1);
>       }
>
>     fclose (fp);
>



Harry Thijssen <unknown_one>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmd (Posted a comment)
  • -email is unavailable- added by unknown_one (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-04-28 jmd Open/ClosedOpen Closed
    2009-04-28 jmd StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code