X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fxattrs.c;h=dbe496620572a7f23c07e8f16bf037d2cf96b9b8;hb=45ccda119355a1087450039a250359c1d0de0d08;hp=4440b340dbb6ed9a969a9d1c452e943ccd52028d;hpb=cd7bdd4076ca154575bbef85eb2157e59befcfe2;p=chaz%2Ftar diff --git a/src/xattrs.c b/src/xattrs.c index 4440b34..dbe4966 100644 --- a/src/xattrs.c +++ b/src/xattrs.c @@ -1,6 +1,6 @@ /* Support for extended attributes. - Copyright (C) 2006-2013 Free Software Foundation, Inc. + Copyright (C) 2006-2014 Free Software Foundation, Inc. This file is part of GNU tar. @@ -484,6 +484,7 @@ xattrs_xattrs_get (int parentfd, char const *file_name, } } +#ifdef HAVE_XATTRS static void xattrs__fd_set (struct tar_stat_info const *st, char const *file_name, char typeflag, @@ -509,6 +510,7 @@ xattrs__fd_set (struct tar_stat_info const *st, sysname, attr, file_name)); } } +#endif /* lgetfileconat is called against FILE_NAME iff the FD parameter is set to zero, otherwise the fgetfileconat is used against correct file descriptor */