[5128] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: vax 7.0R: xrdb parsing of .Xresources

daemon@ATHENA.MIT.EDU (marc@ATHENA.MIT.EDU)
Sat Jun 9 19:52:35 1990

From: marc@ATHENA.MIT.EDU
To: "Jonathan I. Kamens" <jik@PIT-MANAGER.MIT.EDU>
Cc: jud@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU
In-Reply-To: [5119] in Athena Bugs
Reply-To: marc@MIT.EDU
Date: Sat, 09 Jun 90 19:52:22 EDT

> This isn't a bug; the resource file format specification has changed
> for R4, and the specification says that any spaces at the end of a
> resource line are counted as part of the resource value.  See Appendix
> A of the X11R4 Xt Intrinsics manual for more information.

I disagree that this is not a bug.  If this was a button label, or
text, then there would be no problem.  The resource itself does
contain trailing spaces.  But why can't the code which parses the
resource string ignore trailing (and leading) spaces?  This is
reasonable behavior, and there is no reason that it can't be done this
way.

		Marc

home help back first fref pref prev next nref lref last post