X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/684576ff457db7cbebcb6e00f840ed044ccf2e6f..65e83e097c8635856816a07bab5e330a6615dfc1:/popt/popt.c diff --git a/popt/popt.c b/popt/popt.c index fcf671ca..756ddfee 100644 --- a/popt/popt.c +++ b/popt/popt.c @@ -471,7 +471,7 @@ if (_popt_debug) } #endif - rc = execvp(argv[0], (char *const *)argv); + execvp(argv[0], (char *const *)argv); return POPT_ERROR_ERRNO; } @@ -965,10 +965,10 @@ int poptGetNextOpt(poptContext con) if ((opt->argInfo & POPT_ARG_MASK) == POPT_ARG_DOUBLE) { *((double *) opt->arg) = aDouble; } else { -#define _ABS(a) ((((a) - 0.0) < DBL_EPSILON) ? -(a) : (a)) - if ((_ABS(aDouble) - FLT_MAX) > DBL_EPSILON) +#define MY_ABS(a) ((((a) - 0.0) < DBL_EPSILON) ? -(a) : (a)) + if ((MY_ABS(aDouble) - FLT_MAX) > DBL_EPSILON) return POPT_ERROR_OVERFLOW; - if ((FLT_MIN - _ABS(aDouble)) > DBL_EPSILON) + if ((FLT_MIN - MY_ABS(aDouble)) > DBL_EPSILON) return POPT_ERROR_OVERFLOW; *((float *) opt->arg) = aDouble; }