Prevent race condition in font export directory making
When a font export directory is necessary,
LilyPond tested the existence of the directory,
and if the directory did not exist, LilyPond made the directory.
However, LilyPond raised the error that the directory already exists
if another process made the directory between the testing and the making.
This commit prevents such race condition.
By deleting the existence test,
LilyPond always tries to make the directory regardless of existence.
Then suppress the error that the directory already exists.
Diff:
Passes make, make check and a full make doc.
Comment from David Kastrup in Rietveld.
Use if instead of cond
http://codereview.appspot.com/319510043
Passes make, make check and a full make doc.
Patch on countdown for March 25th.
Patch counted down - please push.
author Masamichi Hosoda trueroad@trueroad.jp
Thu, 16 Mar 2017 11:42:15 +0000 (20:42 +0900)
committer Masamichi Hosoda trueroad@trueroad.jp
Sat, 25 Mar 2017 11:42:13 +0000 (20:42 +0900)
commit 20c99b5f4bd928ad865025e0649f6c7515e2f358
Verified commit in git.