🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98470

vroot.h && emacs 18.57?

#98470
From: Barry A. Warsaw
Date: Tue, 18 Jun 1991 19:57
31 lines
1843 bytes
Has anybody been able to integrate vroot.h (for tvtwm patchlevel 6)
into emacs 18.57?  I've tried #include(ing) <X11/vroot.h> at various
places in src/x11term.h and src/x11term.c, but all attempts cause a
core dump:

root@warsaw[111]% xemacs
Fatal error (11).Segmentation fault (core dumped)
root@warsaw[112]% dbx xemacs
Reading symbolic information...
Read 33132 symbols
program terminated by signal SEGV (segmentation violation)
(dbx) where
`x11term`VirtualRootWindow(dpy = 0x162ff8, screen = 0), line 44 in "/depot/X11R4/include/X11/vroot.h"
XInitWindow(), line 2480 in "x11term.c"
x_term_init(), line 1988 in "x11term.c"
init_display(), line 1473 in "dispnew.c"
main(argc = 1, argv = 0xf7fffd2c, envp = 0xf7fffd34), line 383 in "emacs.c"
(dbx)

Line 44 in vroot.h is a call to the (presumably old) RootWindow macro:

		root = RootWindow(dpy, screen);

but the dpy structure looks okay to me.  BTW, all of this is on a Sun
SS1+, SunOS 4.1.1, MIT Xsun server X11R4.18.  I just snagged the
vroot.h file off of export this morning.

If anyone has a patch file or suggestions...

Thanks,
-Barry
Technical Details
Message-ID: <9106181957.AA06001@warsaw.nlm.nih.gov>
Path: arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!emory!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,7f33c21afcabc1ac,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-06-18 12:57:28 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!ira.uka.de!sol.ctr.columbia.edu!emory!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: warsaw@WARSAW.NLM.NIH.GOV (Barry A. Warsaw)
Newsgroups: gnu.emacs.bug
Subject: vroot.h && emacs 18.57?
Message-ID: <9106181957.AA06001@warsaw.nlm.nih.gov>
Date: 18 Jun 91 19:57:28 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: warsaw@nlm.nih.gov
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 31
Approved: bug-gnu-emacs@prep.ai.mit.edu