The ecvt man page/spcifications doesn't set a limit to the number of digits that can be requested. The following code will crash: ------------------------------------ # include <stdio.h> # include <stdlib.h> int main () { int i, j, n = 0; ecvt (2.0/3.0, 10000, &i, &j); return 0; } ---------------------------- it should not crash. Erez Strauss <erez>
Fixed in the newer releases of glibc available from rawhide.