[GRASS5] [bug #1140] (grass) Non-portable snprintf() used in several programs

Bernhard Reiter bernhard at intevation.de
Thu Jun 27 06:50:52 EDT 2002

On Thu, Jun 27, 2002 at 11:05:03AM +0100, Glynn Clements wrote:
> Request Tracker wrote:
> > It was also mentioned in the mailing list before that even on systems
> > that do provide snprintf(), the return value when an error occurs is
> > not standardised, so that is another reason for not relying on the
> > system library version.

> That still doesn't solve the problem of needing snprintf() in the
> first place. If we are going to rely upon a third-party library, we
> should probably look for one which provides asprintf().

We should figure out what third library to use on Irix
and publish a description for people on Irix.
I'm not sure that we should make GRASS completly use snprintf()
from a third party library for all cases.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20020627/90d985dd/attachment.bin

More information about the grass-dev mailing list