Bug#5050: double << broken
Package: libc5
Version: 5.4.7-1
The follow C++ program gives weird output with the new libc.
#include <iostream.h>
int main()
{
cout << 1.0 << '\n';
return 0;
}
bash$ ./a.out
8.59858e-4930
bash$ ldd a.out
libg++.so.27 => /usr/lib/libg++.so.27.1.4
libstdc++.so.27 => /usr/lib/libstdc++.so.27.1.4
libm.so.5 => /lib/libm.so.5.0.6
libc.so.5 => /lib/libc.so.5.4.7
bash$ LD_LIBRARY_PATH=/usr/local/lib ./a.out
1
bash$
Note that /usr/local/lib contains libc 5.2.18 and libm 5.0.5.
--
Debian GNU/Linux 1.1 is out! { http://www.debian.org/ }
Email: Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
{ http://greathan.apana.org.au/~herbert/ }
PGP Key: pgp-public-keys@pgp.mit.edu or any other key sites
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: