From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,8e2d881096721353 X-Google-Attributes: gid103734,public X-Google-Thread: fee84,8e2d881096721353 X-Google-Attributes: gidfee84,public From: "Kaleb S. KEITHLEY" Subject: Re: DU v4's libXt is missing a few things Date: 1998/06/04 Message-ID: <3576DEE4.237C228A@opengroup.org>#1/1 X-Deja-AN: 359551391 Content-Transfer-Encoding: 7bit References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: The Open Group Newsgroups: comp.unix.osf.osf1,comp.windows.x Mark Bartelt wrote: > > The version of libXt.{a,so} that's packaged with v4.0[bcd] of > Digital UNIX is missing some routines that were present in v3: > > _XtActionInitialize > _XtInitErrorHandling > _XtR3StringToKeysym > _XtRegisterWindow > _XtUnregisterWindow Functions with an '_' prefix are unspecified (i.e. undocumented) internal functions and never should have been used by an application program. > This is a rather major nuisance for those of us who need to run > executables that we don't have source code for, and which won't > run if libXt.so doesn't have these things. Which programs are these? > > For now, I've (temporarily) replaced the v4 libXt stuff with the > ones from v3. But this seems like a bad hack. Yup. > Are these routines officially deprecated now? They were never officially sanctioned for public use; thus they did not need to be deprecated -- officially or otherwise. > And if so, what's > the officially-sanctioned equivalent? R6 has XtRegisterDrawable and XtUnregisterDrawable which should suffice for _XtRegisterWindow and _XtUnregisterWindow. There are no substitutes for the other functions. > (As I'm definitely not an > X11 wizard, I'd *love* to get a canned "old X routine xyz is now > replaced by new routine zyx, as follows:" sort of guide. Every release of X comes with a set of documentation. The Xt specification includes a summary of the changes from one release to the next; however you won't find the information you're looking for for internal functions like _XtActionInitialize for the reasons I've outlined above. > If we > had that, it would be easy to cobble together an "oldXkludge.so" > that would solve our problem.) No comment (retch, hack, gag, cough). > > Or, are these routines missing because of some oversight out in > DECland? They're not missing, because for all practical purposes, they never really existed. They never should have been used in the first place. If some programmer has gone and done a symbol dump on libc.so and used undocumented interfaces that he/she found, who should be blamed when the next release changes or removes those interfaces? Hint: not Digital. -- Kaleb Remove #athome# from my email address in order to reply to me.