Hi Gergely, Maybe this is a silly thing to ask, but which gcc did you try it with? I've had programs that would behave differently when compiled with gcc272, gcc 2.95 or gcc-3.0. See ya ../salvador