silly games.
-Erik
# To compile vs uClibc, just use the compiler wrapper built by uClibc...
# Everything should compile and work as expected these days...
-#CC:=/usr/i386-linux-uclibc/usr/bin/i386-uclibc-gcc
+#CC:=/usr/i386-linux-uclibc/bin/i386-uclibc-gcc
# To compile vs some other alternative libc, you may need to use/adjust
# the following lines to meet your needs...
#include <sys/stat.h>
#include <ctype.h>
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
static int parse_config_file ( void );
#include <string.h>
#include <stdlib.h>
#include "busybox.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
/*struct passwd *getpwnam();*/
#include <unistd.h>
#include "busybox.h"
-#include "pwd.h"
+#include "pwd_.h"
static int start = 0;
static int stop = 0;
#define __CONFIG_GRP_H
#if !defined CONFIG_USE_BB_PWD_GRP
-#include_next <grp.h>
+#include <grp.h>
#else
#include "config.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
#ifdef CONFIG_FEATURE_SHADOWPASSWDS
#include "shadow_.h"
#endif
#define __CONFIG_PWD_H
#if !defined CONFIG_USE_BB_PWD_GRP
-#include_next <pwd.h>
+#include <pwd.h>
#else
#include <unistd.h>
#include "busybox.h"
-#include "pwd.h"
+#include "pwd_.h"
static int start = 0;
static int stop = 0;
#include <stdio.h>
#include <string.h>
#include "libbb.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
/* gets a groupname given a gid */
#include <stdio.h>
#include <string.h>
#include "libbb.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
/* returns a gid given a group name */
#include <stdio.h>
#include <string.h>
#include "libbb.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
/* returns a uid given a username */
#include <stdio.h>
#include <string.h>
#include "libbb.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
#include <stdio.h>
#include <string.h>
#include "libbb.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
-#include "grp.h"
+#include "grp_.h"
/*
* Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
-#include "pwd.h"
+#include "pwd_.h"
#define PWD_BUFFER_SIZE 256
#include <stdio.h>
#include <errno.h>
-#include "grp.h"
+#include "grp_.h"
struct group *fgetgrent(FILE * file)
{
#include <errno.h>
#include <stdio.h>
-#include "pwd.h"
+#include "pwd_.h"
struct passwd *fgetpwent(FILE * file)
{
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
-#include "grp.h"
+#include "grp_.h"
struct group *getgrgid(const gid_t gid)
{
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include "grp.h"
+#include "grp_.h"
struct group *getgrnam(const char *name)
{
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
-#include "pwd.h"
+#include "pwd_.h"
int getpw(uid_t uid, char *buf)
{
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include "pwd.h"
+#include "pwd_.h"
struct passwd *getpwnam(const char *name)
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
-#include "pwd.h"
+#include "pwd_.h"
struct passwd *getpwuid(uid_t uid)
{
#include <unistd.h>
#include <fcntl.h>
-#include "grp.h"
+#include "grp_.h"
static int grp_fd = -1;
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
-#include "grp.h"
+#include "grp_.h"
/*
* Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer
#include <stdio.h>
#include <errno.h>
-#include "pwd.h"
+#include "pwd_.h"
int putpwent(const struct passwd *passwd, FILE * f)
{
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
-#include "pwd.h"
+#include "pwd_.h"
#include <fcntl.h>
/*
/* This is needed for libc5 */
#include <asm/unistd.h>
#endif
-#include "grp.h"
+#include "grp_.h"
//#define __NR_setgroups 81
_syscall2(int, setgroups, size_t, size, const gid_t *, list);
#include <sys/types.h>
#include <unistd.h>
#include "busybox.h"
-#include "pwd.h"
-#include "grp.h"
+#include "pwd_.h"
+#include "grp_.h"
/* structs __________________________ */
return addgroup(group_file, group, gid);
}
-/* $Id: addgroup.c,v 1.2 2002/06/23 04:24:24 andersen Exp $ */
+/* $Id: addgroup.c,v 1.3 2002/07/03 23:19:18 andersen Exp $ */
#include <unistd.h>
#include "inet_common.h"
#include "busybox.h"
-#include "pwd.h"
+#include "pwd_.h"
#ifdef CONFIG_ROUTE
extern void displayroutes(int noresolve, int netstatfmt);
#include <sys/types.h>
#include <sys/wait.h>
#include "busybox.h"
-#include "pwd.h"
+#include "pwd_.h"
#if !defined(FNMATCH_BROKEN)
/*
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
* This file contains code for the times builtin.
- * $Id: ash.c,v 1.52 2002/06/06 12:07:28 andersen Exp $
+ * $Id: ash.c,v 1.53 2002/07/03 23:19:22 andersen Exp $
*/
static int timescmd (int argc, char **argv)
{
#ifdef CONFIG_FEATURE_GETUSERNAME_AND_HOMEDIR
# ifndef TEST
-# include "pwd.h"
+# include "pwd_.h"
# else
# include <pwd.h>
# endif /* TEST */