|
From: Ethan M. <merritt@u.washington.edu> - 2009-02-27 19:09:28
|
On Friday 27 February 2009 10:06:56 Benjamin Lindner wrote:
> Ethan A Merritt wrote:
> > On Sunday 22 February 2009, Benjamin Lindner wrote:
> >
> >> The compiled version segfaults reproducably in mouse.c. Looking at the
> >> code I see that the FPRINTF macro is missing stderr as target stream
> >
> > Thank you. Fixed in CVS.
> >
>
> Thanks, but in the second hunk there is I guess a typo in CVS, 'stderr'
> should not be part of the string, but be the first argument.
Proving once again that no fix is too simple to mess up when
applied by hand :-\
> benjamin
>
> diff -r 78ae0c4f5e82 src/mouse.c
> --- a/src/mouse.c Fri Feb 27 10:45:13 2009 +0100
> +++ b/src/mouse.c Fri Feb 27 10:53:28 2009 +0100
> @@ -314,7 +314,7 @@
> *y = AXIS_MAPBACK(FIRST_Y_AXIS, yy);
> *y2 = AXIS_MAPBACK(SECOND_Y_AXIS, yy);
> }
> - FPRINTF(("stderr, POS: xx=%i, yy=%i => x=%g y=%g\n", xx, yy, *x, *y));
> + FPRINTF((stderr, "POS: xx=%i, yy=%i => x=%g y=%g\n", xx, yy, *x, *y));
>
> } else {
> /* for 3D plots, we treat the mouse position as if it is
--
Ethan A Merritt
|