Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount_umap Patch for PRs 5124, 5535: correctly interpre...



details:   https://anonhg.NetBSD.org/src/rev/c68e2cf68366
branches:  trunk
changeset: 473408:c68e2cf68366
user:      perseant <perseant%NetBSD.org@localhost>
date:      Tue Jun 01 19:16:49 1999 +0000

description:
Patch for PRs 5124, 5535: correctly interpret the gid mapping file, rather
than using the last uid map entry for every gid map entry.

diffstat:

 sbin/mount_umap/mount_umap.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 494bafcfe497 -r c68e2cf68366 sbin/mount_umap/mount_umap.c
--- a/sbin/mount_umap/mount_umap.c      Tue Jun 01 18:29:50 1999 +0000
+++ b/sbin/mount_umap/mount_umap.c      Tue Jun 01 19:16:49 1999 +0000
@@ -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 @@
 #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 @@
                        errx(1, "%s: illegal format (line %d)%s",
                            gmapfile, count + 2, not);
                }
-               gmapdata[count][0] = d1;
-               gmapdata[count][1] = d2;
        }
 
 



Home | Main Index | Thread Index | Old Index