🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23806

X11R4 18 Patches + Motif 1.1.1

#23806
From: Dominick Samperi
Date: Mon, 17 Jun 1991 16:10
29 lines
1841 bytes
Has anyone had any problems with the patched version of X11R4 (all 18 MIT
patches) and/or Motif 1.1.1 that did not occur with the unpatched X11R4
and Motif 1.0? We just did the upgrades and have invested MANY hours trying
to figure out why applications that worked before no longer work. More
precisely, applications that were compiled with the older versions work OK
with the new server and window manager, but sometimes fail when linked
with the new (patched/upgraded) libs.

A simple example of the kind of problem we have been having is illustrated
by the memo example on Page 42 of Douglas Young's book on X programming.
This example works fine under the older versions of X11/Motif. Under the
new versions we find that the program dumps core if the environment
variable DISPLAY is not set, and specifying "-display foo:0" does not
help! The program works fine if this environment variable is set
properly. Also, all of the earlier memo examples in Young's book work
in all cases. That is, the environment variable DISPLAY need not be
defined; it is enough to use "-display foo:0".

I suspect that the use of XtOpenDisplay explicitly in this memo example
is what causes the problem, because other applications that we are
having trouble with core dump in the call to XtOpenDisplay. It appears
that the patches included some change to XtOpenDisplay that broke it.

Thanks for any pointers.

-- 
Dominick Samperi -- Citicorp
dsamperi@Citicorp.COM
uunet!ccorp!dsamperi
Technical Details
Message-ID: <1991Jun17.161043.5660@Citicorp.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!ccorp!dsamperi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!ccorp!dsamperi
From: dsamperi@Citicorp.COM (Dominick Samperi)
Newsgroups: comp.windows.x
Subject: X11R4 18 Patches + Motif 1.1.1
Message-ID: <1991Jun17.161043.5660@Citicorp.COM>
Date: 17 Jun 91 16:10:43 GMT
Organization: Citicorp
Lines: 29