aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/beam_disasm.hrl
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2016-06-22 13:45:18 +0100
committerMagnus Henoch <[email protected]>2016-06-22 13:45:18 +0100
commitfe954ec3f29cfff9f421ae967b47fc9aac24c248 (patch)
treecdbb8608da4b2bea59449a7daef85b0b0e96bd21 /lib/compiler/src/beam_disasm.hrl
parent3b7a6ffddc819bf305353a593904cea9e932e7dc (diff)
downloadotp-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/compiler/src/beam_disasm.hrl')
0 files changed, 0 insertions, 0 deletions