statvfs breakage

Gerald Pfeifer gerald at pfeifer.com
Sat Mar 6 05:23:29 CST 2004


I'm afraid the following change

  date: 2004/03/05 21:03:46;  author: julliard;  state: Exp;
  Use statvfs instead of statfs, and provide a default implementation in
  libwine_port if necessary.

is not portable, as seen on FreeBSD 4.8:

  acrux[71]:/sw/test/wine/libs/port% make
  /sw/gcc-3.3.2/bin/gcc -c -I. -I. -I../../include -I../../include
  -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2
  -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o statvfs.o
  statvfs.c
  statvfs.c: In function `statvfs':
  statvfs.c:60: error: structure has no member named `f_namelen'

Would you mind adding an autoconf test for that? (I saw that there are
already a couple of those for statvfs.)

Gerald
-- 
Gerald Pfeifer (Jerry)   gerald at pfeifer.com   http://www.pfeifer.com/gerald/



More information about the wine-devel mailing list