X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=shell%2Fmath.c;h=f01f24362941ee447b7bfe7e223a382e7905dd8e;hb=d329e34c96e0429602fe39489586cd61f97a2877;hp=e7565ebf2980a6f9f249977e6a34541582ceab89;hpb=8a475def9e3e21f780ebcf07dd607b26ceb00ea8;p=oweals%2Fbusybox.git diff --git a/shell/math.c b/shell/math.c index e7565ebf2..f01f24362 100644 --- a/shell/math.c +++ b/shell/math.c @@ -423,7 +423,7 @@ arith_apply(arith_state_t *math_state, operator op, var_or_num_t *numstack, var_ * MAX_NEGATIVE_INT / -1 = MAX_POSITIVE_INT+1 * and thus is not representable. * Some CPUs segfault trying such op. - * Others overfolw MAX_POSITIVE_INT+1 to + * Others overflow MAX_POSITIVE_INT+1 to * MAX_NEGATIVE_INT (0x7fff+1 = 0x8000). * Make sure to at least not SEGV here: */ @@ -743,7 +743,7 @@ arith(arith_state_t *math_state, const char *expr) * may be used to endorse or promote products derived from this software * without specific prior written permission. * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ''AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE