diff options
author | Jim Meyering <meyering@redhat.com> | 2007-11-14 22:36:10 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2007-11-14 22:36:10 +0100 |
commit | 92490afb6d347a0bc79f63cfc966e1f388779c33 (patch) | |
tree | 87da2c65c0dabd1720104c7e2327c60e55e80b31 /src/install.c | |
parent | 8e412d1ac08c95fe1f80e2640f803429fc555ee6 (diff) | |
download | coreutils-92490afb6d347a0bc79f63cfc966e1f388779c33.tar.gz coreutils-92490afb6d347a0bc79f63cfc966e1f388779c33.tar.bz2 coreutils-92490afb6d347a0bc79f63cfc966e1f388779c33.zip |
#ifdef-out matchpathcon-related code, for now.
* src/install.c (setdefaultfilecon): #ifdef-out all of the
matchpathcon-related code, until it's more efficient.
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/install.c b/src/install.c index 216715f5c..450370e6c 100644 --- a/src/install.c +++ b/src/install.c @@ -213,6 +213,7 @@ setdefaultfilecon (char const *file) if (lstat (file, &st) != 0) return; +#ifdef ENABLE_WHEN_MATCHPATHCON_IS_MORE_EFFICIENT if (IS_ABSOLUTE_FILE_NAME (file)) { /* Calling matchpathcon_init_prefix (NULL, "/first_component/") @@ -254,6 +255,7 @@ setdefaultfilecon (char const *file) freecon (scontext); return; } +#endif if (lsetfilecon (file, scontext) < 0 && errno != ENOTSUP) error (0, errno, |