]> git.donarmstrong.com Git - lilypond.git/commit
Issue 5100: Prevent race condition in font export directory making
authorMasamichi Hosoda <trueroad@trueroad.jp>
Thu, 16 Mar 2017 11:42:15 +0000 (20:42 +0900)
committerMasamichi Hosoda <trueroad@trueroad.jp>
Sat, 25 Mar 2017 11:42:13 +0000 (20:42 +0900)
commit20c99b5f4bd928ad865025e0649f6c7515e2f358
tree16b5513d035e948249c88f3af7a4d4195f2f1fbd
parent5da0af52c0f2f6f00347981549a0e54feff6d056
Issue 5100: 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.
scm/framework-ps.scm