last days of htdig

Hans-Peter Nilsson hp@bitrange.com
Sat Sep 27 16:16:00 GMT 2003


On Sat, 27 Sep 2003, Joseph S. Myers wrote:
> On Sat, 27 Sep 2003, Hans-Peter Nilsson wrote:
>
> > Off the top of my head, I think gnu "sort", sizeof int and
> > sizeof long (or if we're lucky, just size_t :-) would be the
> > obvious open sores^Wissues.
>
> GNU utilities have been compiling by default with -D_FILE_OFFSET_BITS=64
> for ages (though this doesn't help if they would need too much memory,
> just with large files).

That's nice to know.  sort --version:
sort (textutils) 2.0.21

>  The problem would be whether htdig (and any
> libraries it uses) is clean about using off_t where appropriate (including
> not using library interfaces such as fseek and ftell, in their place
> fseeko and ftello)

I doubt it does, but that's just me.  Maybe it eventually boils
down to a libstdc++ issue.  Though htdig uses a nice mixture of
stdio and streams IIRC.

> and whether it needs too much memory.

And don't forget the Sleepycat Berkeley DB code.  Though maybe,
just maybe they already had all their chickens in a row.

brgds, H-P



More information about the Overseers mailing list