move passwd, shadow, group and gshadow path definitions to libbb.h
...and define them only if the used libc doesn't. Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
e8d0a1450a
commit
ad3d72f082
@@ -20,16 +20,6 @@
|
||||
#include "libbb.h"
|
||||
#include <assert.h>
|
||||
|
||||
#ifndef _PATH_SHADOW
|
||||
#define _PATH_SHADOW "/etc/shadow"
|
||||
#endif
|
||||
#ifndef _PATH_PASSWD
|
||||
#define _PATH_PASSWD "/etc/passwd"
|
||||
#endif
|
||||
#ifndef _PATH_GROUP
|
||||
#define _PATH_GROUP "/etc/group"
|
||||
#endif
|
||||
|
||||
/**********************************************************************/
|
||||
/* Sizes for statically allocated buffers. */
|
||||
|
||||
|
Reference in New Issue
Block a user