1 $DragonFly: src/lib/libarchive/patches/Attic/archive_read_extract.c.patch,v 1.1 2004/11/10 18:02:24 joerg Exp $
3 --- archive_read_extract.c.orig 2004-11-09 23:59:26.000000000 +0100
4 +++ archive_read_extract.c 2004-11-10 00:25:17.000000000 +0100
19 b = &extract->gcache[h % cache_size ];
20 if (b->name != NULL && b->hash == h && strcmp(gname, b->name) == 0)
21 - return ((gid_t)b->id);
24 /* Free the cache slot for a new entry. */
27 grent = getgrnam(gname);
37 b = &extract->ucache[h % cache_size ];
38 if (b->name != NULL && b->hash == h && strcmp(uname, b->name) == 0)
39 - return ((uid_t)b->id);
42 /* Free the cache slot for a new entry. */
45 pwent = getpwnam(uname);