diff options
author | Magnus Henoch <[email protected]> | 2009-11-27 21:18:17 +0000 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2009-11-28 23:53:44 +0100 |
commit | ace6e42166f0817dce07c85f511eff543bd13ddf (patch) | |
tree | e64609d766a6b76c6f424c60ad07c15b6af91b73 /erts/emulator/hipe/hipe_ppc_gc.h | |
parent | 84adefa331c4159d432d22840663c38f155cd4c1 (diff) | |
download | otp-ace6e42166f0817dce07c85f511eff543bd13ddf.tar.gz otp-ace6e42166f0817dce07c85f511eff543bd13ddf.tar.bz2 otp-ace6e42166f0817dce07c85f511eff543bd13ddf.zip |
to_erl: Include strerror(errno) in error messages
to_erl likes to print the message "No running Erlang on pipe ...",
no matter what the problem actually was. The wording might make
you forget that you just need to run to_erl as another user,
for example.
With this change, to_erl will print the system error message
in addition to its own.
Example output:
No running Erlang on pipe pipes/erlang.pipe.5: Permission denied
(wrong user, wrong permissions, etc)
No running Erlang on pipe pipes/erlang.pipe.5: No such device or address
(this actually means "no running Erlang")
No running Erlang on pipe pipes/erlang.pipe: No such file or directory
(not only is there no running Erlang, there are also no pipes at all)
Diffstat (limited to 'erts/emulator/hipe/hipe_ppc_gc.h')
0 files changed, 0 insertions, 0 deletions