[500] in Zephyr_Bugs

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

Re: WTF?!?!?!?

daemon@ATHENA.MIT.EDU (Marc Horowitz)
Tue Aug 10 11:56:55 1993

To: "Richard J. Barbalace" <rjbarbal@Athena.MIT.EDU>
Cc: bug-zephyr@Athena.MIT.EDU
In-Reply-To: Your message of "Tue, 10 Aug 1993 04:22:51 EDT."
Date: Tue, 10 Aug 1993 11:57:11 -0400
From: Marc Horowitz <marc@GZA.COM>

There's actually two bugs here.  The first is the one Richard
mentioned.  The second is in the man page.  The man page says:

          The style is specific to each  window.   Its  name  has
          three  dot  (``.'')  separated  fields,  which  are  by
          default the values of the class,  instance,  and  reci-
          pient  variables,  with all dots changed to underscores
          (``_'') and all letters converted  to  lowercase.

It should say "sender" not "recipient".

Bug two: zwgc/xshow.c, lines 387-391:

       style = string_Concat(no_dots_downcase_var("class"),".");
       style = string_Concat2(style,no_dots_downcase_var("instance"));
       style = string_Concat2(style,".");
       style = string_Concat2(style,no_dots_downcase_var("sender"));
       string_Downcase(style);

no_dots_downcase_var() should be made to copy the return from
var_get_variable(), and the above block of code should store, then
free the return value of no_dots_downcase_var().

I'll bother making, testing, and submitting a patch if someone swears
to be in blood it will get installed in the next release after 7.6.

		Marc

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