From 9526bd4df71b56b564a87ca9f17cc92c80de7765 Mon Sep 17 00:00:00 2001 From: perseant Date: Tue, 1 Jun 1999 19:16:49 +0000 Subject: [PATCH] Patch for PRs 5124, 5535: correctly interpret the gid mapping file, rather than using the last uid map entry for every gid map entry. --- sbin/mount_umap/mount_umap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sbin/mount_umap/mount_umap.c b/sbin/mount_umap/mount_umap.c index 371939ad7d40..34e42e0b3a45 100644 --- a/sbin/mount_umap/mount_umap.c +++ b/sbin/mount_umap/mount_umap.c @@ -1,4 +1,4 @@ -/* $NetBSD: mount_umap.c,v 1.7 1997/09/16 12:32:33 lukem Exp $ */ +/* $NetBSD: mount_umap.c,v 1.8 1999/06/01 19:16:49 perseant Exp $ */ /* * Copyright (c) 1992, 1993, 1994 @@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\ #if 0 static char sccsid[] = "@(#)mount_umap.c 8.5 (Berkeley) 4/26/95"; #else -__RCSID("$NetBSD: mount_umap.c,v 1.7 1997/09/16 12:32:33 lukem Exp $"); +__RCSID("$NetBSD: mount_umap.c,v 1.8 1999/06/01 19:16:49 perseant Exp $"); #endif #endif /* not lint */ @@ -219,8 +219,6 @@ main(argc, argv) errx(1, "%s: illegal format (line %d)%s", gmapfile, count + 2, not); } - gmapdata[count][0] = d1; - gmapdata[count][1] = d2; }