Subject: Re: Detecting statvfs without autoconf
To: Christoph Kaegi <email@example.com>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 01/06/2006 16:55:56
On Fri, 6 Jan 2006, Christoph Kaegi wrote:
> So the statfs -> stavfs change went in at 299000900 ?
1) Run "cvs log" on src/sys/sys/param.h, and look at the commit message
that mentions statvfs
miyu% cd /usr/src/sys/sys/
miyu% cvs log param.h
date: 2004/04/21 01:05:43; author: christos; state: Exp; lines: +2 -2
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2) Take the revision number and the previous revision, and run 'cvs diff'
to see what was actually changed between 1.194 and 1.195:
miyu% cvs diff -kk -r1.194 -r1.195 param.h
RCS file: /cvsroot/src/sys/sys/param.h,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -r1.194 -r1.195
--- param.h 17 Apr 2004 15:23:23 -0000 1.194
+++ param.h 21 Apr 2004 01:05:43 -0000 1.195
@@ -64,7 +64,7 @@
* needs to be updated and the changes sent back to the groff
-#define __NetBSD_Version__ 200030000 /* NetBSD 2.0C */
+#define __NetBSD_Version__ 200040000 /* NetBSD 2.0D */
* Historical NetBSD #define
3) Reading that, you see that the change was not present with 200030000
and went in with 200040000.
Which is what I wrote in my original mail.