solaris 2.5.1 still no good
Marc G. Fournier
marc.fournier at acadiau.ca
Sat Dec 11 02:28:04 EST 1999
I just email'd, from my other account, the snprintf.c that we distribute
in PostgreSQL...its been thoroughly tested on all the platforms that we
support, with Solaris 2.5.1 being one of them...the bsd-snprintf.c that we
included in OpenSSH, I believe, was the stock FreeBSD one, whereas this
one is meant to be generic ...
I *believe* that we pulled/borrowed this from sendmail originally...
On Fri, 10 Dec 1999, Damien Miller wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thu, 9 Dec 1999, ET wrote:
>
> > Hi folks,
> >
> > Here's what I get under solaris 2.5.1 (sparc) with gcc-2.95.2 and
> > gnumake 3.78-something :
> >
> > bsd-snprintf.c: In function `msetup':
> > bsd-snprintf.c:67: warning: implicit declaration of function
> > `getpagesize'
>
> Can anyone offer a replacement for this?
>
> > bsd-snprintf.c:72: `x' undeclared (first use in this function)
> > bsd-snprintf.c:72: (Each undeclared identifier is reported only once
> > bsd-snprintf.c:72: for each function it appears in.)
> > bsd-snprintf.c:72: `y' undeclared (first use in this function)
> > bsd-snprintf.c:72: warning: left-hand operand of comma expression has
> > no effect
>
> This is weird - it looks like your C compiler is breaking while
> trying to expand the roundup() macro.
>
> > bsd-snprintf.c: In function `snprintf':
> > bsd-snprintf.c:123: warning: implicit declaration of function
> > `vsnprintf'
>
> At least this warning was easily fixed.
>
> > I can't find getpagesize() in /usr/include, nor can I find
> > vsnprintf() or snprintf()
>
> There are not #defines which contain the same information?
>
> Regards,
> Damien
>
> - --
> | "Bombay is 250ms from New York in the new world order" - Alan Cox
> | Damien Miller - http://www.mindrot.org/
> | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.0 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE4ULs2ormJ9RG1dI8RAuCnAJ4vFHXo517wc5W+Kq7naZ3KLYoy8wCfTrHW
> ClefFOgUKN2lIypIpqK+20A=
> =9LxV
> -----END PGP SIGNATURE-----
>
>
>
Marc G. Fournier marc.fournier at acadiau.ca
Senior Systems Administrator Acadia University
"These are my opinions, which are not necessarily shared by my employer"
More information about the openssh-unix-dev
mailing list