X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funlinkat.c;h=fff8310eea7d5e6faa65f866113f1ebedb45014b;hb=c0920188a9d9d5405cb9639d7ae07d9cae2161bf;hp=008192e6d3fa8f72971d21b070b1c36e571be5fc;hpb=8d8eda4eab3d2801251daf4eb31756c3595e2fc6;p=gnulib.git diff --git a/lib/unlinkat.c b/lib/unlinkat.c index 008192e6d..fff8310ee 100644 --- a/lib/unlinkat.c +++ b/lib/unlinkat.c @@ -1,6 +1,6 @@ -/* Work around unlinkat bugs on Solaris 9. +/* Work around unlinkat bugs on Solaris 9 and Hurd. - Copyright (C) 2009-2010 Free Software Foundation, Inc. + Copyright (C) 2009-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,6 +26,9 @@ #include #include +#include + +#include "dosname.h" #include "openat.h" #if HAVE_UNLINKAT @@ -33,7 +36,8 @@ # undef unlinkat /* unlinkat without AT_REMOVEDIR does not honor trailing / on Solaris - 9. Solve it in a similar manner to unlink. */ + 9. Solve it in a similar manner to unlink. Hurd has the same + issue. */ int rpl_unlinkat (int fd, char const *name, int flag)