X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fxattrs.c;h=dac15f38133b447130cc35c4e2cc266f2a4b5096;hb=f678e47eb00daa3be5b00d6d9f167695be831981;hp=4440b340dbb6ed9a969a9d1c452e943ccd52028d;hpb=f92cb1fe1655ff29a19e1c978303284c3b36159a;p=chaz%2Ftar diff --git a/src/xattrs.c b/src/xattrs.c index 4440b34..dac15f3 100644 --- a/src/xattrs.c +++ b/src/xattrs.c @@ -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 */