Add in a patch to make busybox use the normal pwd.h and grp.h

functions.  Add in simple implementations of these functions,
which can, optionally, be used instead of the system versions.
 -Erik
This commit is contained in:
Eric Andersen
2001-01-27 06:01:43 +00:00
parent 3654ca56fa
commit ab050f5522
15 changed files with 174 additions and 113 deletions

View File

@@ -23,8 +23,6 @@
#include "busybox.h"
#include <stdio.h>
#include <unistd.h>
#include <pwd.h>
#include <grp.h>
#include <getopt.h>
#include <sys/types.h>

View File

@@ -27,7 +27,6 @@
#include <stdio.h>
#include <errno.h>
#include <getopt.h>
#include <pwd.h>
/*struct passwd *getpwnam();*/

View File

@@ -27,7 +27,6 @@
#include <stdio.h>
#include <errno.h>
#include <getopt.h>
#include <pwd.h>
#define RW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)

View File

@@ -22,7 +22,6 @@
#include "busybox.h"
#include <stdio.h>
#include <pwd.h>
extern int whoami_main(int argc, char **argv)
{