2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/getpwuid.c: Removed. * libc/sys/linux/getpwnam.c: Removed. * libc/sys/linux/getpwent.c: New file containing logic from files removed above. This allows overriding of file in libc/unix. * libc/sys/linux/Makefile.am: Support changes above. * libc/sys/linux/Makefile.in: Regenerated.
This commit is contained in:
parent
58fc7cdaf9
commit
b6e654c498
|
@ -1,3 +1,13 @@
|
||||||
|
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
|
* libc/sys/linux/getpwuid.c: Removed.
|
||||||
|
* libc/sys/linux/getpwnam.c: Removed.
|
||||||
|
* libc/sys/linux/getpwent.c: New file containing logic
|
||||||
|
from files removed above. This allows overriding of file
|
||||||
|
in libc/unix.
|
||||||
|
* libc/sys/linux/Makefile.am: Support changes above.
|
||||||
|
* libc/sys/linux/Makefile.in: Regenerated.
|
||||||
|
|
||||||
2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
|
2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
|
* libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
|
||||||
|
|
|
@ -146,8 +146,7 @@ ELIX_3_OBJS = \
|
||||||
|
|
||||||
ELIX_4_OBJS = \
|
ELIX_4_OBJS = \
|
||||||
getlogin.$(oext) \
|
getlogin.$(oext) \
|
||||||
getpwnam.$(oext) \
|
getpwent.$(oext) \
|
||||||
getpwuid.$(oext) \
|
|
||||||
stack.$(oext)
|
stack.$(oext)
|
||||||
|
|
||||||
if ELIX_LEVEL_1
|
if ELIX_LEVEL_1
|
||||||
|
|
|
@ -118,7 +118,7 @@ ELIX_2_OBJS = aio64.$(oext) confstr.$(oext) ctermid.$(oext) fclean.$(oext)
|
||||||
ELIX_3_OBJS = system.$(oext) wait.$(oext)
|
ELIX_3_OBJS = system.$(oext) wait.$(oext)
|
||||||
|
|
||||||
|
|
||||||
ELIX_4_OBJS = getlogin.$(oext) getpwnam.$(oext) getpwuid.$(oext) stack.$(oext)
|
ELIX_4_OBJS = getlogin.$(oext) getpwent.$(oext) stack.$(oext)
|
||||||
|
|
||||||
@ELIX_LEVEL_1_TRUE@LIB_OBJS =
|
@ELIX_LEVEL_1_TRUE@LIB_OBJS =
|
||||||
@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_TRUE@LIB_OBJS = $(ELIX_2_OBJS)
|
@ELIX_LEVEL_1_FALSE@@ELIX_LEVEL_2_TRUE@LIB_OBJS = $(ELIX_2_OBJS)
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
/* FIXME: dummy stub for now. */
|
||||||
|
#include <errno.h>
|
||||||
|
#include <pwd.h>
|
||||||
|
|
||||||
|
struct passwd *
|
||||||
|
_DEFUN (getpwnam, (name),
|
||||||
|
_CONST char *name)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* FIXME: dummy stub for now. */
|
||||||
|
struct passwd *
|
||||||
|
_DEFUN (getpwuid, (uid),
|
||||||
|
uid_t uid)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* FIXME: dummy stub for now. */
|
||||||
|
struct passwd *
|
||||||
|
_DEFUN (getpwent, (uid),
|
||||||
|
uid_t uid)
|
||||||
|
{
|
||||||
|
errno = ENOSYS;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
/* FIXME: dummy stub for now. */
|
|
||||||
#include <errno.h>
|
|
||||||
#include <pwd.h>
|
|
||||||
|
|
||||||
struct passwd *
|
|
||||||
_DEFUN (getpwnam, (name),
|
|
||||||
_CONST char *name)
|
|
||||||
{
|
|
||||||
errno = ENOSYS;
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
/* FIXME: dummy stub for now. */
|
|
||||||
#include <errno.h>
|
|
||||||
#include <pwd.h>
|
|
||||||
|
|
||||||
struct passwd *
|
|
||||||
_DEFUN (getpwuid, (uid),
|
|
||||||
uid_t uid)
|
|
||||||
{
|
|
||||||
errno = ENOSYS;
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue