aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/AUTHORS
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-08-10 12:17:31 +0200
committerBjörn Gustavsson <[email protected]>2016-08-12 11:59:59 +0200
commitd7984e5f221ccbe8624d18790920038781720bc6 (patch)
tree5b0a15291b7ae84f1f4d9421a6582919ecc436f4 /lib/asn1/AUTHORS
parent1db9e32445dc368c6073e3b412567d81a2b5eeb2 (diff)
downloadotp-d7984e5f221ccbe8624d18790920038781720bc6.tar.gz
otp-d7984e5f221ccbe8624d18790920038781720bc6.tar.bz2
otp-d7984e5f221ccbe8624d18790920038781720bc6.zip
Support 'make -j' when compiling ASN.1 modules
When attempting to build multiple ASN.1 modules in parallel (e.g. by running 'make -j'), the ASN.1 compiler could crash because the names of the .asn1db files clashed. For example, if A.asn1 and B.asn1 both import from C.asn1, the compiler would write a C.asn1db file when compiling A.asn1 and when compiling B.asn1. We can avoid this problem if the compiler only writes the module's own .asn1db file. That is, when compiling A.asn1, the compiler would only write A.asn1db, not C.asn1db. Also, make sure that we make the write atomic by first writing to a temporary file that is then renamed.
Diffstat (limited to 'lib/asn1/AUTHORS')
0 files changed, 0 insertions, 0 deletions