X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funlinkat.c;h=672637215543b395309d48a842b74174e214a49a;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=308788fd9dd09cc048c67ced27904af3cd816c0d;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/unlinkat.c b/lib/unlinkat.c index 308788fd9..672637215 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 Free Software Foundation, Inc. + Copyright (C) 2009-2013 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)