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

Re: Strange Exim Problem on Alpha

On Mon, Nov 08, 2004 at 07:44:41PM -0800, Steve Langasek wrote:
> On Mon, Nov 08, 2004 at 08:34:40PM -0600, John Goerzen wrote:
> > OK, I'm going to try to weed out this.
> > Here is my test program:
> FWIW, my reading of the exim4 sources shows that it calls statfs() on Linux,
> not statvfs(), because the OS include file only defines HAVE_SYS_VFS_H and
> not HAVE_SYS_STATVFS_H (in spite of this header's existence on Debian
> systems).

You're right, and I didn't even bother to check that until later.  I
just assumed that it would be defined since we have it.  Sigh.  That's
why my 1-line patch fixes it.

I saw similar strange breakage with statfs().  However, I was not sure
whether it was my own fault for putting wrong format strings in my
printf's, since I wasn't sure exactly what data type the data would
arrive in.  According to the manpage, all the records are long, but that
doesn't make sense in the context of largefile support on 32-bit
systems, so I suspect the manpage is out of date.  But I haven't

-- John

Reply to: