Create backup file when writing new xml file?

Thiago Macieira thiago at
Mon Feb 17 14:36:09 UTC 2014

Em seg 17 fev 2014, às 15:38:57, Lubomir I. Ivanov escreveu:
> can't comment much on the QSaveFile ideas, but MINGW / MSVRT doesn't have:
> - link()
> (it does have unlink(), though which is deprecated for _unlink() and
> _wunlink()) - linkat()
> - flock()
> as these are POSIX and technically Windows does not support symlinks
> out of the box, it requires something called Link Shell Extension,
> which i haven't tried.

I was using the POSIX names. For Windows, it would be implemented with 
CreateHardlink (supported since XP).

Thiago Macieira - thiago (AT) - thiago (AT)
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

More information about the subsurface mailing list