Subject: Re: lib/29919
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Evaldo Gardenali <evaldo@gardenali.biz>
List: netbsd-bugs
Date: 04/07/2005 18:58:01
The following reply was made to PR lib/29919; it has been noted by GNATS.

From: evaldo@gardenali.biz (Evaldo Gardenali)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: lib/29919
Date: Thu, 7 Apr 2005 20:09:46 +0200

 Apparently there was some problem, either with the anonymous cvs or whatever, because the cvs log does not match the actual revision on the cvs tree (analysing from cvsweb)
 
 cvs log:
 http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/getmntinfo.c
 Default branch: MAIN
 
 Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:32 2004 UTC (11 months, 2 weeks ago) by christos
 Branch: MAIN
 CVS Tags: netbsd-3-base, netbsd-3, HEAD
 Changes since 1.12: +12 -10 lines
 Diff to previous 1.12 (colored)
 
 Replace the statfs() family of system calls with statvfs().
 Retain binary compatibility.
 
 Full source: (as of Thu Apr  7 18:28:43 UTC 2005)
 http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/gen/getmntinfo.c?rev=1.13&content-type=text/x-cvsweb-markup
 <code snippet>
 	if (mntsize <= 0 &&
 	    (mntsize = getfsstat(NULL, 0L, MNT_NOWAIT)) == -1)
 		return (0);
 	if (bufsize > 0 &&
 	    (mntsize = getfsstat(mntbuf, (long)bufsize, flags)) == -1)
 		return (0);
 <skip>
 		if ((mntsize = getfsstat(mntbuf, (long)bufsize, flags)) == -1)
 			return (0);
 <code snippet />