bugPSPP - Bugs: bug #26379, Issue with Cygwin

 
 

bug #26379: Issue with Cygwin

Submitted by:  Harry Thijssen <unknown_one>
Submitted on:  Tue 28 Apr 2009 07:28:01 AM UTC  
 
Category: Compilation/PortabilitySeverity: 5 - Average
Status: FixedAssigned to: None
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

I pushed a fix for this.

John Darrington <jmd>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 28 Apr 2009 11:43:34 PM UTCjmdOpen/ClosedOpen=>Closed
    Tue 28 Apr 2009 11:43:33 PM UTCjmdStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1