Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!CS.UCL.AC.UK!Z.Wang From: Z.Wang@CS.UCL.AC.UK (Zheng Wang, Ext: 3701) Newsgroups: comp.windows.x Subject: Re: Problem on xrdb -query (and some misc comments) Message-ID: <8902151738.AA00343@expo.lcs.mit.edu> Date: 15 Feb 89 15:53:47 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 23 It could be better if the responses to the questions be sent to original mailing list after editing. Zheng **************************************************************** As Bob, Dan and other people guessed. The problem with xrdb -query on our system is due to a bug in fputs in SUN OS4.0. **************************************************************** From: Bob Scheifler Subject: Re: Problem on xrdb -query You didn't say what system you were on. I'm guessing SunOS 4.0. If so, it's a bug in SunOS fputs, not in xrdb. I think you can find the line with fputs fputs (xdefs, stdout); and change it to printf ("%s", xdefs); /* fputs broken in SunOS 4.0 */