[erlang-questions] bug: file:read in R12B-0

Peter Wang <>
Thu Dec 6 05:57:57 CET 2007


Hi,

I'm not sure if it's allowed to explicitly pass group_leader() as the
io_device, but R12B-0 behaves differently here:

    > file:read(group_leader(), 1).
    []
    {ok,"\n"}

That is, it prints out "[]" as the prompt, whereas R11B doesn't.

Peter




More information about the erlang-questions mailing list