diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-27 11:22:34 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-27 11:22:34 +0000 |
commit | 1d10aaf11617558592b0215fe85bc42fa444e384 (patch) | |
tree | 033e1b9896e651a3ab1d94b255a534ff39a91845 /include | |
parent | 3734b946bfef55c8f63d367422da5c7aa7b972db (diff) | |
download | busybox-1d10aaf11617558592b0215fe85bc42fa444e384.tar.gz |
passwd: fix bug: we are trying to update shadow even if user's record is in passwd!
getspnam is guilty, it lies that user record exists in shadow.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index 82cee380b..b438ec25f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -482,10 +482,10 @@ int get_uidgid(struct bb_uidgid_t*, const char*, int numeric_ok); /* chown-like handling of "user[:[group]" */ void parse_chown_usergroup_or_die(struct bb_uidgid_t *u, char *user_group); /* bb_getpwuid, bb_getgrgid: -bb_getXXXid(buf, bufsz, id) - copy user/group name or id - as a string to buf, return user/group name or NULL -bb_getXXXid(NULL, 0, id) - return user/group name or NULL -bb_getXXXid(NULL, -1, id) - return user/group name or exit + * bb_getXXXid(buf, bufsz, id) - copy user/group name or id + * as a string to buf, return user/group name or NULL + * bb_getXXXid(NULL, 0, id) - return user/group name or NULL + * bb_getXXXid(NULL, -1, id) - return user/group name or exit */ char *bb_getpwuid(char *name, int bufsize, long uid); char *bb_getgrgid(char *group, int bufsize, long gid); |