At 14:46 06/12/98 -0800, Martin Buchholz wrote:
Here's a patch. Completely untested. Please confirm.
I may have broken some other Windows stuff, since I don't have a
Windows development environment, but it should all be relatively easy
to fix.
I had to make these fixes as well.
andy
Index: src/console-msw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/console-msw.c,v
retrieving revision 1.4
diff -u -u -r1.4 console-msw.c
--- src/console-msw.c 1998/04/28 00:24:52 1.4
+++ src/console-msw.c 1998/12/07 17:25:40
@@ -89,7 +89,7 @@
return (LRECORDP (obj)) ? XRECORD_LHEADER (obj) : NULL;
}
-int *DOPAQUE_DATA (Lisp_Object obj)
+max_align_t *DOPAQUE_DATA (Lisp_Object obj)
{
return (OPAQUEP (obj)) ? OPAQUE_DATA (XOPAQUE (obj)) : NULL;
}
@@ -126,7 +126,7 @@
char *DSYMNAME(Lisp_Object obj)
{
- return (SYMBOLP (obj)) ? XSYMBOL (obj)->name->_data : NULL;
+ return (SYMBOLP (obj)) ? XSYMBOL (obj)->name->data : NULL;
}
#endif
Index: src/menubar-msw.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/menubar-msw.c,v
retrieving revision 1.16.2.2
diff -u -u -r1.16.2.2 menubar-msw.c
--- src/menubar-msw.c 1998/12/05 16:56:04 1.16.2.2
+++ src/menubar-msw.c 1998/12/07 17:26:28
@@ -623,7 +623,11 @@
Lisp_Object data, fn, arg, frame;
struct gcpro gcpro1;
+ if (NILP (current_hash_table))
+ return Qnil;
+
data = Fgethash (make_int (id), current_hash_table, Qunbound);
+
if (UNBOUNDP (data))
{
menu_cleanup (f);
Index: src/Makefile.in.in
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/Makefile.in.in,v
retrieving revision 1.81.2.1
diff -u -u -r1.81.2.1 Makefile.in.in
--- src/Makefile.in.in 1998/12/05 16:55:16 1.81.2.1
+++ src/Makefile.in.in 1998/12/07 17:25:40
@@ -350,7 +350,7 @@
fastdump: temacs
@$(RM) ${PROGNAME} && touch SATISFIED
- -${dumpp_temacs}
+ ${dump_temacs}
@if test -f ${PROGNAME}; then if test -f SATISFIED; then \
./${PROGNAME} -batch -vanilla -f list-load-path-shadows; fi; \
$(RM) SATISFIED; exit 0; fi; \
---------------------------------------------------------------------------
" .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