aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-25 17:12:33 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-04-25 17:12:33 +0000
commite4e941d60d60001b35394f5a77d136008e44ad19 (patch)
tree23e6b8e0e9a21b36fa8e08bac90b3361ec490080
parentcce79df57dcd10d06a073bd70effa431afb9e7f0 (diff)
downloadbusybox-w32-e4e941d60d60001b35394f5a77d136008e44ad19.tar.gz
busybox-w32-e4e941d60d60001b35394f5a77d136008e44ad19.tar.bz2
busybox-w32-e4e941d60d60001b35394f5a77d136008e44ad19.zip
Larry noticed that chown and chgrp has the version numbers off a bit
for glibc's lchown support. Thanks Larry. git-svn-id: svn://busybox.net/trunk/busybox@2437 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--chgrp.c2
-rw-r--r--chown.c2
-rw-r--r--coreutils/chgrp.c2
-rw-r--r--coreutils/chown.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/chgrp.c b/chgrp.c
index c6312a7e4..0bb1e75c9 100644
--- a/chgrp.c
+++ b/chgrp.c
@@ -29,7 +29,7 @@
29#include "busybox.h" 29#include "busybox.h"
30 30
31/* Don't use lchown for libc5 or glibc older then 2.1.x */ 31/* Don't use lchown for libc5 or glibc older then 2.1.x */
32#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) 32#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
33#define lchown chown 33#define lchown chown
34#endif 34#endif
35 35
diff --git a/chown.c b/chown.c
index b6059d048..ff935a4c0 100644
--- a/chown.c
+++ b/chown.c
@@ -29,7 +29,7 @@
29#include "busybox.h" 29#include "busybox.h"
30 30
31/* Don't use lchown for libc5 or glibc older then 2.1.x */ 31/* Don't use lchown for libc5 or glibc older then 2.1.x */
32#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) 32#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
33#define lchown chown 33#define lchown chown
34#endif 34#endif
35 35
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index c6312a7e4..0bb1e75c9 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -29,7 +29,7 @@
29#include "busybox.h" 29#include "busybox.h"
30 30
31/* Don't use lchown for libc5 or glibc older then 2.1.x */ 31/* Don't use lchown for libc5 or glibc older then 2.1.x */
32#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) 32#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
33#define lchown chown 33#define lchown chown
34#endif 34#endif
35 35
diff --git a/coreutils/chown.c b/coreutils/chown.c
index b6059d048..ff935a4c0 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -29,7 +29,7 @@
29#include "busybox.h" 29#include "busybox.h"
30 30
31/* Don't use lchown for libc5 or glibc older then 2.1.x */ 31/* Don't use lchown for libc5 or glibc older then 2.1.x */
32#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) 32#if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
33#define lchown chown 33#define lchown chown
34#endif 34#endif
35 35