Temporary hack to unbreak user/group lookups;

use a larger buffer for getpwuid_r/getgrgid_r.
This needs to be dynamically sized.
This commit is contained in:
Tim Kientzle 2009-04-04 20:08:08 +00:00
parent 8403b16a59
commit 4ef9925138
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190699

View File

@ -182,7 +182,7 @@ lookup_uname(void *data, uid_t uid)
static const char *
lookup_uname_helper(struct archive *a, id_t id)
{
char buffer[64];
char buffer[512];
struct passwd pwent, *result;
int r;
@ -210,7 +210,7 @@ lookup_gname(void *data, gid_t gid)
static const char *
lookup_gname_helper(struct archive *a, id_t id)
{
char buffer[64];
char buffer[512];
struct group grent, *result;
int r;