Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2014 17:19:42 -0700
From:      Xin Li <delphij@delphij.net>
To:        Mateusz Guzik <mjguzik@gmail.com>, Xin LI <delphij@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r272144 - head/sbin/sysctl
Message-ID:  <5424B11E.4030909@delphij.net>
In-Reply-To: <20140925224035.GA6065@dft-labs.eu>
References:  <201409252237.s8PMbScl041679@svn.freebsd.org> <20140925224035.GA6065@dft-labs.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------040109080302010904010106
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09/25/14 15:40, Mateusz Guzik wrote:
> On Thu, Sep 25, 2014 at 10:37:28PM +0000, Xin LI wrote:
>> Author: delphij Date: Thu Sep 25 22:37:27 2014 New Revision:
>> 272144 URL: http://svnweb.freebsd.org/changeset/base/272144
>> 
>> Log: The strtol(3) family of functions would set errno when it
>> hits one. Check errno and handle it as invalid input.
>> 
> 
> But this requires explicitely setting errno to 0 before strto*
> call, otherwise you cannot know whether errno is meaningful when
> you test it.

Fixed in r272145, good catch!

> Also it looks like the code would use some deduplications with
> macros or something.

I think the code can use some refactor.  Does the attached patch look
good to you?

Cheers,
- -- 
Xin LI <delphij@delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0

iQIcBAEBCgAGBQJUJLEeAAoJEJW2GBstM+nsSD0P/3Oe4gzNc1AYy14cg8ewZ0nL
w75gPr9rMABxMXk7tGut6qS+W1vTZ32g9rCpzE+7ra1A8kDZ9l+VkJbUwkN2nr/i
udsMq+qQ1qB+dCsVJLm8Pjsh/g+AVlSxXdHrkD1u49XhANZQUGt9NBaO0ah84c5J
vaZ+Sq7cR6fF2VrZDJ0MLxW8tHLgW6hIVORvyiohvOqhzBHOFihDEDcoUOamzFZI
txqI2oxjuhGy+T1V4dVYso/PgYhhnFC4L9Lvx5E9EqUZrVzckPP1PYXiZiQR/i7H
ZEV5RgxHOGXEYNVDZXoEQthE1iP3pzFhe/xNURzlUqZIwgPeJ6Q2xz+As/C0yXlT
+LxmXdQ/zsQmRu5b2m7TvBjBp18znAR2c2mKbvHS3EX6UWEmUKwcb2CREm0AbnQL
kFrLRsksJfxD1TCkfmqysOa6WSkvRQpJ4csZdKf9y5nZFh/yjdSnzJULLKphpbzr
npc9ZYJ9m7bLj7OZF5UPwEr0JfTnRDn6VnMqKiUTgXpHk5Lpm7vm5WefdOWMyTmL
nwtmU3SyaJdLBrWARY1ZyN0ENmzTrs3sjCyWvhwlAomYIVuahT1oCuaRYIDyzito
mThiFbuRA+ufz6m8OcIXeiGLxkimdIHm68ZreNZlBHA/R/bH84vLiIN0HRNhgAOy
bgc97yetD5PL8NhRC8G/
=PWTt
-----END PGP SIGNATURE-----

--------------040109080302010904010106
Content-Type: text/plain; charset=UTF-8;
 name="sysctl.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="sysctl.diff"

SW5kZXg6IHN5c2N0bC5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHN5c2N0bC5jCShyZXZpc2lvbiAy
NzIxNDUpCisrKyBzeXNjdGwuYwkod29ya2luZyBjb3B5KQpAQCAtNTcsNiArNTcsNyBAQCBz
dGF0aWMgY29uc3QgY2hhciByY3NpZFtdID0KICNpbmNsdWRlIDxtYWNoaW5lL3BjL2Jpb3Mu
aD4KICNlbmRpZgogCisjaW5jbHVkZSA8YXNzZXJ0Lmg+CiAjaW5jbHVkZSA8Y3R5cGUuaD4K
ICNpbmNsdWRlIDxlcnIuaD4KICNpbmNsdWRlIDxlcnJuby5oPgpAQCAtODAsOCArODEsMzIg
QEAgc3Rhd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aW50IGxl
biwgY2hhciAqZm10LCB1X2ludCAqa2luZCkKIAlyZXR1cm4gKDApOwogfQogCi1zdGF0aWMg
aW50IGN0bF9zaWduW0NUTFRZUEUrMV0gPSB7Ci0JW0NUTFRZUEVfSU5UXSA9IDEsCi0JW0NU
TFRZUEVfTE9OR10gPSAxLAotCVtDVExUWVBFX1M2NF0gPSAxLAotfTsKLQotc3RhdGljIGlu
dCBjdGxfc2l6ZVtDVExUWVBFKzFdID0gewotCVtDVExUWVBFX0lOVF0gPSBzaXplb2YoaW50
KSwKLQlbQ1RMVFlQRV9VSU5UXSA9IHNpemVvZih1X2ludCksCi0JW0NUTFRZUEVfTE9OR10g
PSBzaXplb2YobG9uZyksCi0JW0NUTFRZUEVfVUxPTkddID0gc2l6ZW9mKHVfbG9uZyksCi0J
W0NUTFRZUEVfUzY0XSA9IHNpemVvZihpbnQ2NF90KSwKLQlbQ1RMVFlQRV9VNjRdID0gc2l6
ZW9mKGludDY0X3QpLAotfTsKLQogLyoKICAqIFRoaXMgZm9ybWF0cyBhbmQgb3V0cHV0cyB0
aGUgdmFsdWUgb2Ygb25lIHZhcmlhYmxlCiAgKgo=
--------------040109080302010904010106
Content-Type: application/octet-stream;
 name="sysctl.diff.sig"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="sysctl.diff.sig"

iQIcBAABCgAGBQJUJLEeAAoJEJW2GBstM+nsug8P/30rxWcBdXjmF5ok0GjEiW4+5qtkEFfN
TNAFpaWAR0uXJTPZJ6pidMhXXe0XIsbgCH+ky8B7aGj+bPuPYzAvk2Hv9mHSA6KSYFRYQwd1
LrrGPTUZizQjP1kCvsFvrvU5wDThoyo+jIHz7PCaDG8hwdThUGMfU+2unIkpkQ33v0/UG5yj
v2DNJDHe4byBdcw9Qo4HdGaOk+yfUeX+ELDaONNkvsCzPSPqbuCHWBEEyu8DDRBeAZXb6u/S
6b6DDaJH7nKaIa000Oqg0As+YYl57V2WVDt2P3m5EYyF5UgoXcfUvDOt4zNtWZb4CfvY5Eb6
KPcmAomi3dxUehqFrO6OmzumvD4mFhn90CKYyNJMfRBBdOn9H45lXpBCWRhJlXSHacX5Wv9T
zPQCAqoxTlJOlTzms4zcJjV+mgiIg3FI2jmk39wgYtFLROOYRX9xYKsu7mychIV3rWnXKNbL
65d7tgViyYhBZR24CaWcxlzgpTOBR9+8J5FyGHVYi6mL13YSpBC1cbiUhZo0mBPR2tLoFLb1
MWnQNRSXAK1cF3a7RbhitutnlmD1Z3wli2yb/uQfu2l5uWpx5aJoNoQqtSGxU0Or/Ox6obvp
TtWP+hqpPI8SghOCBRTQaOHVtu5Z40c315v4a4TcIyBqPgMzo3WQU2N5TEgJaoI4OeukFN1m
nXhJ
--------------040109080302010904010106--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5424B11E.4030909>