mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-08 10:11:57 -04:00
After creating the hardlink, open and close the file, to ensure that the directory entry for the file contains the correct file size, see http://blogs.msdn.com/b/oldnewthing/archive/2011/12/26/10251026.aspx