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:
parent
4b541a8817
commit
c57a75d896
2
chgrp.c
2
chgrp.c
@ -29,7 +29,7 @@
|
||||
#include "busybox.h"
|
||||
|
||||
/* 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
|
||||
#endif
|
||||
|
||||
|
2
chown.c
2
chown.c
@ -29,7 +29,7 @@
|
||||
#include "busybox.h"
|
||||
|
||||
/* 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
|
||||
#endif
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "busybox.h"
|
||||
|
||||
/* 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
|
||||
#endif
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "busybox.h"
|
||||
|
||||
/* 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
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user