avoid looping trying to make temp dir when the name is too long
authorJoey Hess <joeyh@joeyh.name>
Sun, 6 Dec 2015 20:29:36 +0000 (16:29 -0400)
committerJoey Hess <joeyh@joeyh.name>
Sun, 6 Dec 2015 20:29:36 +0000 (16:29 -0400)
commit4591569607fb49d342d45493fd9d825fe335ac2e
treeb52e0a8f8262dcca7900e9503a933e485cb2678d
parenta0fcb8ec93dd5fccf93ce177aa787f01ec938a58
avoid looping trying to make temp dir when the name is too long

Only loop when directory creation fails due to the directory existing
already.
Utility/Tmp.hs