probable bug in gen.erl

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

probable bug in gen.erl

Thomas Lindgren-3

Hi everybody,

While poking around in gen.erl, I found something that
looks like a bug: returning a self() in one case arm, while
the others return node()'s. I have attached (ack! spit!)
a brief look at where this occurs: two places, probably
a cut-and-paste error.

(Found in R8B0 and R7B1.)

The fix is to replace self() with node() :-)

Best,
                Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gen-bug.txt
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20011217/652feb1f/attachment.txt>