From 553f2fe46140369325f3d0490b92f4046b2d5de5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 18 Mar 2007 15:29:10 +0000 Subject: [PATCH] * lib/fchownat.c: Include lchown.h. 2007-03-17 Bruno Haible --- ChangeLog | 4 ++++ lib/fchownat.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4e472c2be..ee9eaa112 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-03-17 Bruno Haible + * lib/fchownat.c: Include lchown.h. + +2007-03-17 Bruno Haible + Fix endless loop when the given allocated size was > INT_MAX. * lib/vasnprintf.c (EOVERFLOW): New fallback definition. (VASNPRINTF): Fail with EOVERFLOW when the given allocated size is diff --git a/lib/fchownat.c b/lib/fchownat.c index 382ed7bc1..801c92a07 100644 --- a/lib/fchownat.c +++ b/lib/fchownat.c @@ -4,7 +4,7 @@ when the buggy fchownat-with-AT_SYMLINK_NOFOLLOW operates on a symlink, it mistakenly affects the symlink referent, rather than the symlink itself. - Copyright (C) 2006 Free Software Foundation, Inc. + Copyright (C) 2006-2007 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 @@ -29,6 +29,7 @@ #include #include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */ +#include "lchown.h" #include "save-cwd.h" #include "openat-priv.h" -- 2.11.0