Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We enforce at least protocol 29 for --prune-empty-dirs because the
[rsync/rsync.git]
/
popt
/
popt.c
diff --git
a/popt/popt.c
b/popt/popt.c
index
d17c31c
..
9e00769
100644
(file)
--- a/
popt/popt.c
+++ b/
popt/popt.c
@@
-907,10
+907,10
@@
int poptGetNextOpt(poptContext con)
#ifndef DBL_EPSILON
#define DBL_EPSILON 2.2204460492503131e-16
#endif
#ifndef DBL_EPSILON
#define DBL_EPSILON 2.2204460492503131e-16
#endif
-#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;
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;
}
return POPT_ERROR_OVERFLOW;
*((float *) opt->arg) = aDouble;
}
@@
-1055,7
+1055,7
@@
poptContext poptFreeContext(poptContext con)
}
int poptAddAlias(poptContext con, struct poptAlias alias,
}
int poptAddAlias(poptContext con, struct poptAlias alias,
- /*@unused@*/
int flags
)
+ /*@unused@*/
UNUSED(int flags)
)
{
poptItem item = (poptItem) alloca(sizeof(*item));
memset(item, 0, sizeof(*item));
{
poptItem item = (poptItem) alloca(sizeof(*item));
memset(item, 0, sizeof(*item));
@@
-1128,7
+1128,7
@@
const char * poptBadOption(poptContext con, int flags)
/*@=nullderef@*/
}
/*@=nullderef@*/
}
-const char *
const
poptStrerror(const int error)
+const char * poptStrerror(const int error)
{
switch (error) {
case POPT_ERROR_NOARG:
{
switch (error) {
case POPT_ERROR_NOARG: