svn commit: r209110 - in head/lib/msun: . src

David Schultz das at freebsd.org
Sat Jun 12 19:14:20 UTC 2010


On Sat, Jun 12, 2010, Steve Kargl wrote:
> On Sat, Jun 12, 2010 at 05:32:05PM +0000, David Schultz wrote:
> > Author: das
> > Date: Sat Jun 12 17:32:05 2010
> > New Revision: 209110
> > URL: http://svn.freebsd.org/changeset/base/209110
> > 
> > Log:
> >   Introduce __isnanf() as an alias for isnanf(), and make the isnan()
> >   macro expand to __isnanf() instead of isnanf() for float arguments.
> >   This change is needed because isnanf() isn't declared in strict POSIX
> >   or C99 mode.
> >   
> >   Compatibility note: Apps using isnan(float) that are compiled after
> >   this change won't link against an older libm.
> >   
> 
> Does this then mean that libm's version number needs to be bumped?

It shouldn't.  Compiling an app under one release and running it
on an earlier release isn't supported.  (In the Linux world, a new
symbol would be a minor version bump and you'd need at least that
version. In Solaris, pvs(1) would tell you what releases your app
works with.)


More information about the svn-src-head mailing list