[Freeciv-Dev] Re: [PATCH] _final_ *snprintf cleanup. (PR#774)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Thue <thue@xxxxxxx> wrote:
> On Friday 18 May 2001 13:59, Gaute B Strokkenes wrote:
> >The attached patch supercedes all of my previous patches, and does the
> >following:
> > * Change vsnprintf() test to accept C89 as well C99 return value
> > semantics.
> >
> > * Changed vsnprintf wrapper to have C89 return value semantics, even
> > if the underlying implementation is C99.
> >
> > * Changed all uses of my_vsnprintf() and friends to expect C89
> > rather than C99 return values.
> Just curious, why not conform to the newer C99 standard?
Because if one has a C99-style vsnprintf function, one can "downgrade"
it to look like C89, but one cannot make C89 vsnprintf look like C99
(at least not without unpleasantness including such as we currently
use).
-- David
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/
|
|