« Previous | Next » 

Revision cdeefd9b

IDcdeefd9b5fa8f36ff43959d7e4f16a95d067f94c

Added by Guido Trotter about 14 years ago

Remove race condition in FileStorage.Create

Rather than checking that the file doesn't exist, and then creating it,
we create it with O_CREAT | O_EXCL, making sure the checking/creation is
atomic.

Signed-off-by: Guido Trotter <>
Reviewed-by: Michael Hanselmann <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences