bug-mailutils
[Top][All Lists]
Advanced

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

Re: [bug-mailutils] Problem with large file support in mailutils 1.0


From: Kostas Zorbadelos
Subject: Re: [bug-mailutils] Problem with large file support in mailutils 1.0
Date: Mon, 23 Oct 2006 17:59:16 +0300
User-agent: Mutt/1.5.11

On Mon, Oct 23, 2006 at 05:50:10PM +0300, Sergey Poznyakoff wrote:
> Kostas Zorbadelos <address@hidden> 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
  address@hidden 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]