summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-27 06:01:43 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-27 06:01:43 +0000
commitab050f5522e843bf08994685134adaaac7ffd392 (patch)
treee3f2fbeb43186bbe44fb58ba5a7f6a3c4843c1a5 /coreutils
parent3654ca56fae6e3bdcb7369bc21d2b41d460ef732 (diff)
downloadbusybox-w32-ab050f5522e843bf08994685134adaaac7ffd392.tar.gz
busybox-w32-ab050f5522e843bf08994685134adaaac7ffd392.tar.bz2
busybox-w32-ab050f5522e843bf08994685134adaaac7ffd392.zip
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
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/id.c2
-rw-r--r--coreutils/uudecode.c1
-rw-r--r--coreutils/uuencode.c1
-rw-r--r--coreutils/whoami.c1
4 files changed, 0 insertions, 5 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index 59cfafa0a..d50de4775 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -23,8 +23,6 @@
23#include "busybox.h" 23#include "busybox.h"
24#include <stdio.h> 24#include <stdio.h>
25#include <unistd.h> 25#include <unistd.h>
26#include <pwd.h>
27#include <grp.h>
28#include <getopt.h> 26#include <getopt.h>
29#include <sys/types.h> 27#include <sys/types.h>
30 28
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c
index 279b9d6ce..7b26d2dad 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -27,7 +27,6 @@
27#include <stdio.h> 27#include <stdio.h>
28#include <errno.h> 28#include <errno.h>
29#include <getopt.h> 29#include <getopt.h>
30#include <pwd.h>
31 30
32/*struct passwd *getpwnam();*/ 31/*struct passwd *getpwnam();*/
33 32
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c
index 36bc4970f..24aabd373 100644
--- a/coreutils/uuencode.c
+++ b/coreutils/uuencode.c
@@ -27,7 +27,6 @@
27#include <stdio.h> 27#include <stdio.h>
28#include <errno.h> 28#include <errno.h>
29#include <getopt.h> 29#include <getopt.h>
30#include <pwd.h>
31 30
32#define RW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) 31#define RW (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)
33 32
diff --git a/coreutils/whoami.c b/coreutils/whoami.c
index 38a2b3078..d7f0a177c 100644
--- a/coreutils/whoami.c
+++ b/coreutils/whoami.c
@@ -22,7 +22,6 @@
22 22
23#include "busybox.h" 23#include "busybox.h"
24#include <stdio.h> 24#include <stdio.h>
25#include <pwd.h>
26 25
27extern int whoami_main(int argc, char **argv) 26extern int whoami_main(int argc, char **argv)
28{ 27{