diff options
author | Magnus Henoch <[email protected]> | 2016-06-22 13:45:18 +0100 |
---|---|---|
committer | Magnus Henoch <[email protected]> | 2016-06-22 13:45:18 +0100 |
commit | fe954ec3f29cfff9f421ae967b47fc9aac24c248 (patch) | |
tree | cdbb8608da4b2bea59449a7daef85b0b0e96bd21 /lib/erl_interface | |
parent | 3b7a6ffddc819bf305353a593904cea9e932e7dc (diff) | |
download | otp-fe954ec3f29cfff9f421ae967b47fc9aac24c248.tar.gz otp-fe954ec3f29cfff9f421ae967b47fc9aac24c248.tar.bz2 otp-fe954ec3f29cfff9f421ae967b47fc9aac24c248.zip |
Show error reason when compiler cannot write file
When the compiler fails to write an output file, it used to just print
"error writing file". With this change, it also prints the error
reason:
$ echo "-module(foo)." > foo.erl
$ chmod -w .
$ erlc foo.erl
/tmp/bar/foo.bea#: error writing file: permission denied
Diffstat (limited to 'lib/erl_interface')
0 files changed, 0 insertions, 0 deletions