Scribit eric jrdn2 dies 20/01/2007 hora 09:10:
> If somebody here uses a debian (testing) an has a few seconds to
> compile and run the problematic code I gave you, i thank him in
> advance. I really would like to know if it is a debian bug or a
> misconfiguration from me.
It seems like a locale issue. It compiles fine on my etch system, but
running it gives me the error, and strace has the following last lines:
open("/usr/share/locale/fr_FR/LC_MESSAGES/gtk20-properties.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/fr/LC_MESSAGES/gtk20-properties.mo", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=116620, ...}) = 0
mmap2(NULL, 116620, PROT_READ, MAP_PRIVATE, 4, 0) = 0xa7f3c000
close(4) = 0
write(2, "At line ", 8) = 8
write(2, "7", 1) = 1
write(2, " of file ", 9) = 9
write(2, "sub.f", 5) = 5
write(2, "\n", 1) = 1
write(2, "Internal Error: ", 16) = 16
write(2, "printf is broken", 16) = 16
write(2, "\n", 1) = 1
write(1, " value= ", 8) = 8
close(0) = 0
exit_group(3) = ?
So I tried with the POSIC locale:
$ LANG=C ./test
value= 100.099998474121 200.199996948242 150.149997711182
Globally,
Pierre
--
nowhere man levallois eu org
OpenPGP 0xD9D50D8A
Attachment:
signature.asc
Description: Digital signature