« Previous | Next » 

Revision 81b7354c

ID81b7354c112c7bffd3a458d34638c4fe19d57c19

Added by Iustin Pop about 15 years ago

Small optimisation in utils.WriteFile

Currently we always try to remove the new file, even if the rename
succeeded. This patch tracks the existence of the new file and doesn't
try to remove it if we managed to rename it.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences