Re: XForms: flimage problem revisited

From: T.C. Zhao (tc_zhao@yahoo.com)
Date: Thu Mar 28 2002 - 02:42:01 EST


# To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :

thanks. It appears that the current source
calls flimage_close() to close file
and resets the file pointer.
--- Clive A Stubbings <xforms@vjet.demon.co.uk> wrote:
> # To subscribers of the xforms list from Clive A Stubbings
> <xforms@vjet.demon.co.uk> :
>
> TC,
>
> I just took a look at the example program from Jens. The problem is in
> xforms 0.89 fix 6.
>
> Check function flimage_dump() - it opens and closes image->fpout
> but leaves a pointer in image->fpout after closing it.
>
> When you do the flimage_free() it will double close the file via
> flimage_close().
>
> You need to NULL the pointer after close in flimage_dump().
>
> You might want to check you really have it fixed in your latest version.
>
>
> Cheers
> Clive
>
> _________________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuhs.mil or see
> http://bob.usuhs.mil/mailserv/xforms.html
> XForms Home Page: http://world.std.com/~xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
>

__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:17 EDT