Re: [idea] request_module(const char *fmt, ...);

From: Horst von Brand (vonbrand@pincoya.inf.utfsm.cl)
Date: Wed Jan 12 2000 - 12:44:27 EST


Tigran Aivazian <tigran@sco.COM> said:

[...]

> I thought va_start/va_end magic handles that automatically, i.e. if
> sprintf(buf, "%s", "hello") does the same as sprintf(buf, "hello") then
> our new request_module() should work fine as well.

What about:

  sprintf(buf, "%s", "foo-%s");

vs

  sprintf(buf, "foo-%s");
?

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

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



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:20 EST