[PATCH] D50126: [Support] fix TempFile infinite loop and permission denied errors
    Bob Haarman via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jul 31 20:48:54 PDT 2018
    
    
  
inglorion added a comment.
This diff fixes a problem where, on Windows, TempFile::create() would immediately fail when the same name is tried again before the first file with that name is gone. That makes collisions less of an issue, because we can actually use more of the available names before we give up. It also fixes a problem where trying to create a tempfile when all available names are taken would lead to an infinite loop.
https://reviews.llvm.org/D50126
    
    
More information about the llvm-commits
mailing list