[ntp:questions] Re: Taming the pinball machine

Dave Thompson david.thompson1 at worldnet.att.net
Thu Nov 27 04:22:31 UTC 2003


On 13 Nov 2003 16:48:21 -0800, mayer at gis.net (Danny Mayer) wrote:

> wolfgang+gnus20031113T094637 at dailyplanet.dontspam.wsrcc.com (Wolfgang S. Rupprecht) wrote in message news:<x74qx84065.fsf at capsicum.wsrcc.com>...
> > 
> > Would ntp's caretakers accept a patch to change sprintf()'s to
> > snprintf() so this thing can't happen again?

> Yes. There are, however, more than a few sprintf's in the program.

And remember that snprintf is not standard, until C99 which isn't
widespread yet and probably won't be "universal" for some time.

In particular in M$VC/Win it's _snprintf.

- David.Thompson1 at worldnet.att.net



More information about the questions mailing list