|
From: | Auto mailings of changes to Lily Issues |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5100 Prevent race condition in font export directory making |
Date: | Sun, 02 Apr 2017 20:48:47 +0000 |
Verified commit in git.
[issues:#5100] Prevent race condition in font export directory making
Status: Verified
Labels: Fixed_2_19_58
Created: Thu Mar 16, 2017 11:41 AM UTC by Masamichi Hosoda
Last Updated: Sat Mar 25, 2017 11:23 PM UTC
Owner: Masamichi Hosoda
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.
http://codereview.appspot.com/319510043
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |