Larry noticed that chown and chgrp has the version numbers off a bit

for glibc's lchown support.  Thanks Larry.
This commit is contained in:
Eric Andersen 2001-04-25 17:12:33 +00:00
parent 4b541a8817
commit c57a75d896
4 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@
#include "busybox.h" #include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */ /* Don't use lchown for libc5 or glibc older then 2.1.x */
#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) #if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown #define lchown chown
#endif #endif

View File

@ -29,7 +29,7 @@
#include "busybox.h" #include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */ /* Don't use lchown for libc5 or glibc older then 2.1.x */
#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) #if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown #define lchown chown
#endif #endif

View File

@ -29,7 +29,7 @@
#include "busybox.h" #include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */ /* Don't use lchown for libc5 or glibc older then 2.1.x */
#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) #if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown #define lchown chown
#endif #endif

View File

@ -29,7 +29,7 @@
#include "busybox.h" #include "busybox.h"
/* Don't use lchown for libc5 or glibc older then 2.1.x */ /* Don't use lchown for libc5 or glibc older then 2.1.x */
#if (__GLIBC__ < 2) && (__GLIBC_MINOR__ < 1) #if (__GLIBC__ <= 2) && (__GLIBC_MINOR__ < 1)
#define lchown chown #define lchown chown
#endif #endif