summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorMike Frysinger2006-07-20 19:31:07 +0000
committerMike Frysinger2006-07-20 19:31:07 +0000
commit8840759c6147277a1e8b1c2a315e42daf4e0b794 (patch)
tree7327a27989e75b2ec938bde8d64e6043f613bb64 /coreutils
parenteea561871b45a2335ab6a09f14dad627ffcdc1cd (diff)
downloadbusybox-8840759c6147277a1e8b1c2a315e42daf4e0b794.zip
busybox-8840759c6147277a1e8b1c2a315e42daf4e0b794.tar.gz
move lchown/chown define out of specific files and into platform.h where it belongs
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/chgrp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index 46db408..5064f2d 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -16,11 +16,6 @@
#include <unistd.h>
#include "busybox.h"
-/* Don't use lchown glibc older then 2.1.x */
-#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
-#define lchown chown
-#endif
-
static int fileAction(const char *fileName, struct stat *statbuf, void* junk)
{
if (lchown(fileName, statbuf->st_uid, *((long *) junk)) == 0) {