On Sun, 6 Sep 1998, Aaron Throckmorton wrote: > va_start(args, format); >- vfprintf(logfile, format, args); >+ vfprintf(stderr, format, args); >+ vprintf(format, args); > va_end(args); I don't know if it is safe to call v*printf() twice with only doing one va_start() on every architecture. It looks like it would be undefined behavior in the standard. -- George Greer, greerga@circlemud.org | Genius may have its limitations, but http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped. http://www.van.ml.org/CircleMUD/ | -- Elbert Hubbard +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST