Path: utzoo!attcan!uunet!husc6!bloom-beacon!doc.ic.ac.UK!jsp
From: jsp@doc.ic.ac.UK (Jan-Simon Pendry)
Newsgroups: comp.windows.x
Subject: Re:  Problems with 'xrdb' & 'xdm'?
Message-ID: <8811281116.aa15947@tgould.doc.ic.ac.uk>
Date: 28 Nov 88 09:16:31 GMT
Sender: daemon@bloom-beacon.MIT.EDU
Organization: The Internet
Lines: 22

Bob Scheifler writes:
>    1) 'xrdb -query' only outputs ONE line.
>We certainly haven't seen this behaviour here.

There is a bug in SunOS 4.0 with fputs on line buffered streams
which may be causing the problem.  It is fixed by loading the 4.0.1
patch tape.  Before applying the patch I had the problem, after
applying the patch I don't.  The comment in the accompanying README
is as follows:

Reference Number:  1011741

	Synopsis:  fputs fails with >1 newline on line-buffered streams

	Description:

	When `fputs' is called with a string containing more
	than one newline, and the stream passed to `fputs'
	is line-buffered, everything up to the first newline
	will be printed, but nothing more.

jsp.