[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <Global 4.0.1>: does not build on Solaris (needs snprintf)

From: Shigio Yamaguchi
Subject: Re: <Global 4.0.1>: does not build on Solaris (needs snprintf)
Date: Sat, 28 Oct 2000 00:48:45 +0900

> GLOBAL 4.0.1 does not build on Solaris as Solaris lacks an 'snprintf'
> function. If a simple implementation of this function is provided, GLOBAL
> does link (and, apparently, run). [The implemenation I've done of snprintf
> is not safe, though, since it ignores the buffer-length argument; for this
> reason I'm not attaching it to this report.]
> Platform: Solaris 2.5.1 Ultrasparc
> Compiler: gcc 2.7.2
> GLOBAL version: 4.0.1

The latest GLOBAL source is written like:

        snprintf(buf, sizeof(buf), ":%s#", name);
        sprintf(buf, ":%s#", name);
#endif /* HAVE_SNPRINTF */

As you say, 4.0.1 didn't have that code.

I'm going to make public GLOBAL's cvs repository.
Please wait a moment.
Shigio Yamaguchi - Tama Communications Corporation
Mail: address@hidden, (Spare mail: address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]