[ET Trac] [Einstein Toolkit] #1712: Retire snprintf.c
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Fri Mar 6 14:05:01 CST 2015
#1712: Retire snprintf.c
-----------------------+----------------------------------------------------
Reporter: eschnett | Owner:
Type: task | Status: reopened
Priority: minor | Milestone:
Component: Other | Version: development version
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by rhaas):
* status: closed => reopened
* resolution: fixed =>
Comment:
When retiring snprintf, the related function strdup was also retired.
However strdup is not in C99 but in BSD/POSIX and thus is not available by
default. In C it is implicitly declared to return int which fails if the
actual returned pointer is larger than 32 bits. The branch
https://bitbucket.org/cactuscode/cactus/branch/rhaas%2Fcheck-for-PI-and-
strdup
provides configure checks for this routine.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1712#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list