renameat2: port to non-renameat platforms
commit123f3ec7335c8c15b613f234fb65453c31e4667f
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Aug 2017 18:06:33 +0000 (2 11:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Aug 2017 18:07:06 +0000 (2 11:07 -0700)
tree3581915b9aad3a6c655f73f8ab84140dd5e1ec5b
parentdbeec5dcb3dadd92773caae94fe57b921c4c86e8
renameat2: port to non-renameat platforms

Problem reported for MSVC-2015 by Gisle Vanem in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00001.html
* lib/renameat2.c [!HAVE_RENAMEAT]: Include <sys/stat.h> here too.
(renameat2) [!HAVE_RENAMEAT]: Fix typo in arg passing.
ChangeLog
lib/renameat2.c