Subject: Re: Strange open & f/stat behavior in 1.6Q
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Steve Foster <steve@devidian.me.uk>
List: port-sparc
Date: 04/17/2003 10:55:28
On Thu, 17 Apr 2003, der Mouse wrote:

> Try compiling with -Wformat.

Ah, that explains things! :-)
 
> It'll do what you expect if you make it (int)sbuf.st_size - or if you

 
> If you were to use it with a file >2G in size, of course, using int
> won't DTRT on the sparc.  But that seems unlikely for /etc/hosts.

You are quite correct, it was just a test as I'm trying to get nntpd to work. And it was having trouble with the reading in of the active file.

Cheers

Steve