Large files support on FreeBSD

Julien ÉLIE julien at trigofacile.com
Sun Mar 22 06:51:33 UTC 2009


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?

-- 
Julien ÉLIE

« Les femmes forment un sexe purement décoratif. Elles n'ont jamais rien
  à dire, mais elles le disent d'une facon charmante. »
  (Oscar Wilde, _The Picture of Dorian Gray_, IV) 




More information about the inn-workers mailing list