nmh-workers
[Top] [All Lists]

Re: bug with mh 6.8.3 popd on BSD 4.4 (FreeBSD)

1995-12-07 08:05:17
Date: Wed, 06 Dec 1995 14:27:47 -0800
From: John Romine <mh(_at_)ahi(_dot_)ics(_dot_)uci(_dot_)edu>

   Mark Diekhans <markd(_at_)grizzly(_dot_)com> wrote:
   >mh 6.8.3 popd does not work on BSD 4.4 (FreeBSD) due to the assumption
   >that off_t is a long.

There were several fixes submitted for this.  How are
fseek() and ftell() defined on 64bit systems?  On my
Solaris 2.4 system, the offset in fseek and the return
value of ftell are of type "long".

fseek and ftell are longs on freebsd, however lseek is off_t, which is
type long long.  I don't know what posix has to say about the types of
fseek and ftell.

Mark


<Prev in Thread] Current Thread [Next in Thread>