mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-25 13:51:04 +08:00
Update.
1999-08-13 Ulrich Drepper <drepper@cygnus.com> * stdio-common/tstscanf.c: Add test for hexadecimal float parsing problem.
This commit is contained in:
parent
2b80a3726a
commit
ed9c47d90b
@ -1,3 +1,8 @@
|
||||
1999-08-13 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* stdio-common/tstscanf.c: Add test for hexadecimal float parsing
|
||||
problem.
|
||||
|
||||
1999-08-13 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||
|
||||
* configure.in: install-sh lives now in scripts subdir.
|
||||
|
4
configure
vendored
4
configure
vendored
@ -1191,9 +1191,9 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
||||
|
||||
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
||||
|
||||
if test "$INSTALL" = "${srcdir}/install-sh -c"; then
|
||||
if test "$INSTALL" = "${srcdir}/scripts/install-sh -c"; then
|
||||
# The makefiles need to use a different form to find it in $srcdir.
|
||||
INSTALL='\$(..)./install-sh -c'
|
||||
INSTALL='\$(..)./scripts/install-sh -c'
|
||||
fi
|
||||
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
||||
echo "configure:1200: checking whether ln -s works" >&5
|
||||
|
@ -250,5 +250,20 @@ main (int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
fputs ("Test 8:\n", stdout);
|
||||
{
|
||||
double d = 123456.789;
|
||||
int res;
|
||||
|
||||
res = sscanf ("0x1234", "%lf", &d);
|
||||
printf ("res = %d, d = %f\n", res, d);
|
||||
|
||||
if (res != 0 || d != 123456.789)
|
||||
{
|
||||
fputs ("test failed!\n", stdout);
|
||||
result = 1;
|
||||
}
|
||||
}
|
||||
|
||||
exit (result);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user