| Author |
Message |
|
| Guest |
Posted: Wed Nov 17, 2010 3:45 pm |
|
|
|
Guest
|
When epmd prints an error message via dbg_perror(), the dbg_gen_printf()
function is supposed to append the error message which corresponds to
the current errno value. The following commit fixes the problem that
errno has been reset to zero (by erts_snprintf()) before it is used:
git fetch git://github.com/weiss/otp.git fix-epmd-perror
The problem can easily be reproduced by executing e.g.
epmd -port 42
as an unprivileged user. Without the patch, this will spit out something
along the lines of:
epmd: Wed Nov 17 16:44:22 2010: failed to bind socket: Success
Holger
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|