On Mon, Oct 23, 2006 at 05:50:10PM +0300, Sergey Poznyakoff wrote:
> Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> 
> > Hello to everyone.
> 
> Hi, Kosta!
>

Hello Sergey.
 
> > There is a problem with large file support (>2GB) in mailutils
> > 1.0. Although mu_off_t type was introduced, the function fseek() instead
> > of fseeko() is used in 
> > 
> > mailbox/file_stream.c
> > mimeview/mimetypes.y
> > 
> > This produces errors when a large offset is passed as
> > argument.
> 
> Ah, indeed. Thanks for pointing that out.
> 
> > Shouldn't we use fseeko in these files?
> 
> Probably so, but with a caution: fseeko is a SysV invention and it may
> not be available on some systems.
> 

If there is a more portable way to provide a solution I would be glad
to learn it. For now unfortunately we need to provide a solution. I
will patch my sources to overcome the problem but it would be nice to
have the solution upstream as well, to avoid maintaining
unnecessary patches.


> Regards,
> Sergey

-- 
  Kostas Zorbadelos
  [EMAIL PROTECTED] contact: kzorba (at) otenet.gr
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.



_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to