Remove some test instrumentation. (The Symbol.map changes broke it anyway.)
This commit is contained in:
parent
2f1b111f90
commit
ec6292aa68
@ -98,8 +98,6 @@ static const u_char *__sccl(char *, const u_char *);
|
||||
static int parsefloat(FILE *, char *, char *);
|
||||
#endif
|
||||
|
||||
int __scanfdebug = 0;
|
||||
|
||||
__weak_reference(__vfscanf, vfscanf);
|
||||
|
||||
/*
|
||||
@ -781,8 +779,6 @@ again: c = *fmt++;
|
||||
float res = strtof(buf, &p);
|
||||
*va_arg(ap, float *) = res;
|
||||
}
|
||||
if (__scanfdebug && p - buf != width)
|
||||
abort();
|
||||
nassigned++;
|
||||
}
|
||||
nread += width;
|
||||
|
@ -99,8 +99,6 @@ __FBSDID("$FreeBSD$");
|
||||
static int parsefloat(FILE *, wchar_t *, wchar_t *);
|
||||
#endif
|
||||
|
||||
extern int __scanfdebug;
|
||||
|
||||
#define INCCL(_c) \
|
||||
(cclcompl ? (wmemchr(ccls, (_c), ccle - ccls) == NULL) : \
|
||||
(wmemchr(ccls, (_c), ccle - ccls) != NULL))
|
||||
@ -705,8 +703,6 @@ again: c = *fmt++;
|
||||
float res = wcstof(buf, &p);
|
||||
*va_arg(ap, float *) = res;
|
||||
}
|
||||
if (__scanfdebug && p - buf != width)
|
||||
abort();
|
||||
nassigned++;
|
||||
}
|
||||
nread += width;
|
||||
|
@ -42,8 +42,6 @@ __FBSDID("$FreeBSD$");
|
||||
#define eq(type, a, b) _eq(type##_EPSILON, (a), (b))
|
||||
static int _eq(long double epsilon, long double a, long double b);
|
||||
|
||||
extern int __scanfdebug;
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
@ -57,8 +55,6 @@ main(int argc, char *argv[])
|
||||
buf[0] = '\0';
|
||||
assert(setlocale(LC_NUMERIC, ""));
|
||||
|
||||
__scanfdebug = 1;
|
||||
|
||||
/*
|
||||
* Various tests for normalized numbers
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user