[BusyBox] GSHADOW_FILE and SHADOW_FILE undeclared
Goetz Bock
bock at blacknet.de
Thu Dec 13 17:45:18 UTC 2001
On Thu, Dec 13 '01 at 11:07, Jim Gleason wrote:
> When building busybox on/for x86 I get: [ ... ]
>
> deluser.c: In function `delgroup_main':
> deluser.c:125: `GSHADOW_FILE' undeclared (first use in this function)
> deluser.c:125: (Each undeclared identifier is reported only once
> deluser.c:125: for each function it appears in.)
> deluser.c: In function `deluser_main':
> deluser.c:156: `SHADOW_FILE' undeclared (first use in this function)
I trivialy fixed this by adding the two missing defines to the deluser.c
like (hand typed patch):
--- deluser.c
+++ deluser.c
@@ -30,6 +30,8 @@
#define PASSWD_FILE "/etc/passwd"
#define GROUP_FILE "/etc/group"
+#define SHADOW_FILE "/etc/shadow"
+#define GSHADOW_FILE "/etc/gshadow"
/* where to start and stop deletion */
typedef struct {
Cu,
Goetz.
More information about the busybox
mailing list