> From: Gavin Smith <[email protected]> > Date: Sat, 3 Dec 2022 15:25:20 +0000 > Cc: Texinfo <[email protected]> > > The report was dir file corruption if install-info was interrupted. > > I've attempted to fix this issue by creating a temporary file with > mkstemp, and then renaming it. I've added the Gnulib module for mkstemp > as it will not exist on MS-Windows.
The rename operation is not atomic on MS-Windows, only on Posix systems. Moreover, the MS runtime implements 'rename' in a way that fails if the destination exists. So you will need the Gnulib replacement for it.
