https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78870
--- Comment #4 from Jan Niklas Hasse <jhasse at bixense dot com> --- > Great! Please read > https://gcc.gnu.org/onlinedocs/libstdc++/manual/appendix_contributing.html > especially the part about legal paperwork. Do you mean the part about legal paperwork in https://gcc.gnu.org/contribute.html ? > No. Just look at the existing code and figure out what the equivalent code > would be for Windows, and write an alternative implementation e.g. replace > calls to POSIX stat() with whatever Windows uses to query file properties, > and replace calls to POSIX chmod with whatever Windows uses to change file > permissions. And can I look at how boost::filesystem does this?