diff options
author | Glenn L McGrath | 2004-09-15 03:04:08 +0000 |
---|---|---|
committer | Glenn L McGrath | 2004-09-15 03:04:08 +0000 |
commit | f15dfc557048ca28c8b71ecbcfb9b8f229f2e2e0 (patch) | |
tree | f34d5e6241ef8f0a1a95502128789b2edd2c1a71 /include | |
parent | 995d96a99d5f2d546d5e15b2614ae7408da27631 (diff) | |
download | busybox-f15dfc557048ca28c8b71ecbcfb9b8f229f2e2e0.zip busybox-f15dfc557048ca28c8b71ecbcfb9b8f229f2e2e0.tar.gz |
Tito writes,
"This patch fixes all the bugs in id previously spotted by vodz and me.
The binary size increased a bit, but now it should work as expected."
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 51afd1e..93ab537 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -230,6 +230,7 @@ extern unsigned long bb_xparse_number(const char *numstr, * increases target size and is often not needed embedded systems. */ extern long my_getpwnam(const char *name); extern long my_getgrnam(const char *name); +extern char * my_getug(char *buffer, char *idname, long id, int bufsize, char prefix); extern char * my_getpwuid(char *name, long uid, int bufsize); extern char * my_getgrgid(char *group, long gid, int bufsize); extern char *bb_askpass(int timeout, const char * prompt); |