At 05:29 PM 6/2/98 +0100, david.bush(a)adn.alcatel.com wrote:
The 21.0 Somali version of glyphs.c makes a call to XFree at line
1624
in
the function bitmap_to_lisp_data. This function call cannot be resolved
if Cygwin Xemacs is built without X11 support.
The memory being freed is allocated in the function
read_bitmap_data_from_file.
Two versions of this function exist. One in glyphs-x.c and one in
glyphs-msw.c. The verion in glyphs-msw.c is build only if Xemacs is
configured without X11 support. I suggest that the free must be made
conditional on the type of build.
A patch is attached
Change Log
98-06-02 David Bush <david.bush(a)adnb.alcatel.com>
src/glyphs.c (bitmap_to_lisp_data) Use free() instead of XFree()
if built without X Windows support.
Err, thats not a patch, thats the whole file. Anyway you are correct in you
analysis. I would #define XFree like XMalloc is.
andy
---------------------------------------------------------------------------
" .sigs are like your face - rarely seen by you and uglier than you think"
Dr Andy Piper, Technical Architect, Parallax Solutions Ltd
mail: andyp(a)parallax.co.uk web:
www.parallax.co.uk/~andyp