Large files support on FreeBSD

The Doctor doctor at doctor.nl2k.ab.ca
Sun Mar 22 12:07:06 UTC 2009


On Sun, Mar 22, 2009 at 07:51:33AM +0100, Julien ÉLIE wrote:
> Hi,
>
> On FreeBSD 6.2, makedbz or innd crash with core dump (with INN 2.5.0):
>
> "gdb makedbz makedbz.core" show this line of lib/ftello.c file:
>
>    if (fgetpos(stream, &fpos) < 0) {
>        return -1;
>
> INN 2.4.6 works fine with large files support.
> INN 2.5.0 works fine without it.
>
> It also appears that when compiled with large files support:
>
> 2.4.6:
>
> /* #undef HAVE_LARGE_FPOS_T */
>
> 2.5.0:
>
> #define HAVE_LARGE_FPOS_T 1
> #define DO_LARGEFILES 1
>
> And if /* #undef HAVE_LARGE_FPOS_T */ is also set on 2.5.0
> in current "include/config.h", INN works fine.
> But how is it possible to make sure support for large files
> is really in it?
>
>
> I also see:
>
>    http://www.freshports.org/news/inn-current
>    "IGNORE: is marked as broken: Does not install (makedbz segfaults)"
>
>
> Do you have any idea about such an issue?
> A configure problem?
>


Is this the case in FreeBSD 6.3 / 6.4 ?

I know FreeBSD 6.2 is not even archived now.

-- 
Member - Liberal International	This is doctor at nl2k.ab.ca
Ici doctor at nl2k.ab.ca God, Queen and country! Beware Anti-Christ rising!
Never Satan President Republic!
Point to http://tv.cityonahillproductions.com/ 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the inn-workers mailing list