Subject: Re: statfs/statvfs in packages
To: None <>
From: Christos Zoulas <>
List: tech-pkg
Date: 04/18/2005 16:56:15
In article <>,
Klaus Heinz  <> wrote:
>Martijn van Buul wrote:
>> statfs. Statfs has been deprecated in favour of statvfs at some point - but
>> AFAIK it's only available in -current. So, my patch should only be applied
>> when
>> running "-current after april 18th 2004". 
>> How do I go about doing this? 
>Take a look at /usr/include/sys/param.h. Your patch should depend on
>__NetBSD_Version__ having a value of at least 200040000 (aka 2.0D)
>because Christos changed it from 200030000 on 2004-04-21 (see the CVS
>log of src/sys/sys/param.h).
>Where did the date "april 18th 2004" come from?

It is not a good idea to depend on this. If we get 2.1 out it will break.