Re: menuconfig displays dependencies [Was: select FW_LOADER -> depends HOTPLUG]

From: Sam Ravnborg
Date: Sun Aug 15 2004 - 12:57:17 EST


On Sun, Aug 15, 2004 at 07:28:28PM +0200, Roman Zippel wrote:
> Hi,
>
> On Sat, 14 Aug 2004, Sam Ravnborg wrote:
>
> > +void expr_get_dep_txt(struct expr *e, char *t)
>
> What's wrong with expr_print()?
Nothing ;-)
Originally I had in mind expanding string storage using realloc as required.
But my hack became a bit simpler than that, so I could have used it.

>
> > + if (menu->sym && menu->sym->dep)
> > + expr_get_dep_txt(menu->sym->dep, t);
>
> The dep field of the symbol isn't used currently (it's left from the
> converter).
Should we delete it then?

> Did you already look at the similiar code in qconf.cc?
No.
If I revisit this then I will do so, and use expr_print().

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/