X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2Fparse_number.c;h=5262239ff2f84198b171279118e94939a5f73e91;hb=f9584a19ca738762c9bb2ce899fe9c3d9e746da0;hp=92ad6a21647f2cdd6f6d85d63ce423e3e4a7431f;hpb=cad5364599eb5062d59e0c397ed638ddd61a8d5d;p=oweals%2Fbusybox.git diff --git a/libbb/parse_number.c b/libbb/parse_number.c index 92ad6a216..5262239ff 100644 --- a/libbb/parse_number.c +++ b/libbb/parse_number.c @@ -34,7 +34,7 @@ unsigned long bb_xparse_number(const char *numstr, unsigned long int r; char *e; int old_errno; - + /* Since this is a lib function, we're not allowed to reset errno to 0. * Doing so could break an app that is deferring checking of errno. * So, save the old value so that we can restore it if successful. */