diff options
author | Sam Bobroff <[email protected]> | 2010-05-18 11:49:08 +1000 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-05-19 09:36:18 +0200 |
commit | 5e9d05198cd00f74b99f697eb022ae0b2f31f136 (patch) | |
tree | f6db9516af3cd534bb4bd499c7a1d61a822e4b62 /lib/snmp/src | |
parent | 5fe8d47a60c89f1235f9fc727e650ada491246a3 (diff) | |
download | otp-5e9d05198cd00f74b99f697eb022ae0b2f31f136.tar.gz otp-5e9d05198cd00f74b99f697eb022ae0b2f31f136.tar.bz2 otp-5e9d05198cd00f74b99f697eb022ae0b2f31f136.zip |
Change make:files to behave more like erlc
Currently make:files will fail with the atom 'error' and
no message when the input (.erl) file is unreadable or the
output (.beam) file is unwritable. This differs from erlc
which will print a useful error message, or when possible,
remove the unwritable output file and continue successfully.
This change removes the unnecessary checks on the files when
make:files is called and allows the error checking to be
done in compile:file, where the error messages are produced.
It does not affect the return value.
In particular this resolves the mysterious problem of make:files
failing but erlc succeeding, caused by an unwritable (usually
root owned) beam file in an otherwise writable build directory.
Diffstat (limited to 'lib/snmp/src')
0 files changed, 0 insertions, 0 deletions