Date: Tue, 12 Apr 2005 14:06:02 -0500 From: "R. Tyler Ballance" <tyler@tamu.edu> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: strtonum(3) in FreeBSD? Message-ID: <1113332762.27362.29.camel@localhost.localdomain>
next in thread | raw e-mail | index | archive | help
--=-EJHlE2ItK1iGs1avqBIo Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Quick, sort of, question. Is it worth it to bring strtonum(3) from OpenBSD into FreeBSD-CURRENT. I have the diffs if that's the case, I know that the newer packet filter code from OPENBSD_3_7 that mlaier@ and I are working on uses it in a few places (see: pflogd) but I'm not sure of the merits of bringing strtonum(3) into lib/libc/stdlib... In theory, it should be a better implementation of what atoi(3) and strtol(3) do, but as tg@(mirbsd.org) pointed out to the OpenBSD fellows and myself, it doesn't take hexadecimal values well... Somebody let me know, i've got diffs ready, sort of ;) (or let me know why it's a bad idea) -R. Tyler Ballance --=-EJHlE2ItK1iGs1avqBIo Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iQIVAwUAQlwcGIBeTbTGPYVBAQLz9w//Z+MVdPsFFwlYBKv5AwWhjI6RMWQ7k5pk Km+kF/ivnIJOEqudRvNevByArG9aTA3+PGwn5FNVhv3NiP66Xo0jLlSGPr6RZkip /oQHzMj1eo+/4XfmQp4VmuHDf5DWzkh6MgJYpAKbQpHVKkT83Mhsd9kpJ65zQijG NKwIOQT0LBRrTup9hXL886BTlb1t3+DIbMc0GN+EhQQ0Ar3d4KkmLnpX12UwDOeq MZk3ixcAFEAhWBWEl2FGSkyXgzRVx2FdnVL9gUZ52nJisGlI0qJSxjCggvTJaqlU czAfqPp7v1xv3PVsg3gIVyiUgXFMwKjdL/xKcD1cRi+8HWmMQ4/Tkr0B8YmXpMok V0J9YN+uY0jbiSKwCFEgYkr63I5s5DgGSHGwqLBPpDagrfa7BIJvcYza+mXpnxvu YNe+MjPIqF1WoWXGlXIopQ7nVWota6UVmvAoxrGOEdBRXosI/mmXKtiMqFVqnP8A d34QROs19RTVvcjTQkSD1su0PBcgYFjgdq59IyuQzlHCKL3vbk7NHoEenI0V5L9T Q3avUSn03M+Q5z4JRgNfxSI+cprPJHblDmRAzFAxjPmTbno3jB/Wm6z1E41Nv4UM lzfs4jPu3DU7XDzXg1lUR5Quuq+cuSU+00qZPngLb5tZHGB/b76wwQyaINueD+V/ YPseYNfZ8Bw= =DfA7 -----END PGP SIGNATURE----- --=-EJHlE2ItK1iGs1avqBIo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1113332762.27362.29.camel>