nmh-workers
[Top] [All Lists]

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

1995-12-07 08:03:44

       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".

i think that fseek and ftell are defined to have the offset of type
long -- which is 64 bits on all the 64 bit OS's i know (convexos,
osf/1 and netbsd/alpha).

i think that you need to use `off_t' for the real syscalls and to
follow the standards for the stdio ones.

.mrg.


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