NetBSD-Bugs archive

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

PR/42031 CVS commit: src/usr.sbin/mtree

The following reply was made to PR bin/42031; it has been noted by GNATS.

From: Alan Barrett <>
Subject: PR/42031 CVS commit: src/usr.sbin/mtree
Date: Sat, 19 Sep 2009 20:42:07 +0000

 Module Name:   src
 Committed By:  apb
 Date:          Sat Sep 19 20:42:07 UTC 2009
 Modified Files:
        src/usr.sbin/mtree: spec.c
 Log Message:
 Fix the "mtree -M" problem reported in PR 42031 by Geoff Wing.
 The cause of the problem was that part of the code assumed that
 nodecmp() on two nodes with the same name would return 0, but in
 fact nodecmp() would return -1 or +1 if one of the nodes was a
 directory and the other was not.  The fix is to separate the notion
 of whether or not a duplicte name was found frmo the notion of
 where the new node should appear in the list.
 To generate a diff of this commit:
 cvs rdiff -u -r1.75 -r1.76 src/usr.sbin/mtree/spec.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index