Date: Wed, 1 Oct 2003 17:24:29 +0300 From: Peter Pentchev <roam@ringlet.net> To: Scott Likens <damm@fpsn.net> Cc: Edwin Groothuis <edwin@FreeBSD.org> Subject: Re: cvs commit: ports/net/lft Makefile ports/net/lft/files patch-lft.c Message-ID: <20031001142429.GS551@straylight.oblivion.bg> In-Reply-To: <1065017536.4056.1.camel@desolation.livid.de> References: <200309301227.h8UCRg5J081765@repoman.freebsd.org> <20031001133904.GR551@straylight.oblivion.bg> <1065017536.4056.1.camel@desolation.livid.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--lx6+J6gHrzwEpYNy Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 01, 2003 at 07:12:16AM -0700, Scott Likens wrote: > On Wed, 2003-10-01 at 06:39, Peter Pentchev wrote: > > On Tue, Sep 30, 2003 at 05:27:42AM -0700, Edwin Groothuis wrote: > > > edwin 2003/09/30 05:27:42 PDT > > >=20 > > > FreeBSD ports repository > > >=20 > > > Modified files: > > > net/lft Makefile=20 > > > net/lft/files patch-lft.c=20 > > > Log: > > > patch for net/lft > > > =20 > > > ports/net/lft has a slight problem on 4.x servers > > > =20 > > > GCC 2.95 does not support atol on 4.x, where as 5.x has > > > atol, to solve this slight problem we must use either a > > > version check, or use depreciated atoll > > > =20 > > > Informed maintainer. > >=20 > > However, my 4.9-RC doesn't have atoll(3) at all - neither as a manpage, > > nor even in the src/lib/libc/stdlib/ sources. How about the following > > patch, which makes it use strtoll(3) instead? >=20 > Yes, 4.x does not have atol, it should have atoll instead. If this can > be verified that atoll has been removed from 4.9 please let me know.=20 > But rest assured, it is there. If not, some major catastrophy has > happened and the world has ended. Errrr... I do believe it's the other way 'round: -STABLE has atol(3), and it does not (and never has, IMHO) have atoll(3). A quick look at the difference between http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdlib/?only_with_tag=3D= RELENG_4 http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/stdlib/ will show you that -CURRENT has an atoll.c file there now, while -STABLE still has only atol.c, which does not contain an atoll() function. Also, [roam@straylight ~]> find /usr/src/lib -type f | xargs fgrep -l atoll [roam@straylight ~]> This was on a 4.9-RC cvsup'd today. I rest my case about using the C99 strtoll() instead. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 =2Esiht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI --lx6+J6gHrzwEpYNy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/euOc7Ri2jRYZRVMRAuT4AJoDcwIVJu5MbpFDqpB14u3BQrrfxACcDLIK XQZE+6Xzry9Z6YsXjOrGYnc= =v+72 -----END PGP SIGNATURE----- --lx6+J6gHrzwEpYNy--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031001142429.GS551>