AW: [PATCH] Convert sscanf to preferred xstrtou conversion.
Paul B. Henson
henson at acm.org
Mon Jun 3 18:38:06 UTC 2013
On 6/3/2013 12:36 AM, dietmar.schindler at manroland-web.com wrote:
> Please excuse my interfering... Did you verify that the version with
> xstrtou is indeed shorter (which was the motivation for the change,
> if I understood right)? I doubt it. Besides that, the version with
> sscanf is far more readable.
My motivation for the change was that a core busybox developer told me
to use xstrtou instead of sscanf :). I updated my patch to do so, and
for the sake of consistency made the extra effort to go back and convert
the existing code so it would match.
More information about the busybox
mailing list