Re: [CODE]Win95 log

From: George (greerga@CIRCLEMUD.ORG)
Date: 09/06/98

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, | Genius may have its limitations, but (not done) | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST