$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-09-02 04:52:43
Joao Abecasis wrote:
> if ( !fseek( file, 0L, SEEK_END ) )
> {
> size_t filesize = ftell( file );
>
> ret = allocate( filename, filesize );
>
I see two problems:
1. Loading of >100MB file into the memory is not a good idea;
2. Files can be larger than 2GB (4GB).
Best regards/Venlig hilsen,
Alexey Pakhunov.