delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/02/11:10:54

Sender: crough45 AT amc DOT de
Message-Id: <97Aug2.170417gmt+0100.17037@internet01.amc.de>
Date: Sat, 2 Aug 1997 16:07:30 +0100
From: Chris Croughton <crough45 AT amc DOT de>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Cc: asu1 AT cornell DOT edu
Subject: Re: ifstream (FILENAME, ios::binary). Can't Read!!!

A. Sinan Unur wrote:

> there are 64 bit unices.

Indeed there are.  I'm using one at this moment, on
a DEC Alpha (there's both OSF/1, now called "DEC Unix",
and a Linux port for the Alpha).

Under OSF/1 the maximum filesize is a long, 64 bits.
At least, that's how fseek is declared, and it will
allocate a file over 4Gb long (full of nothing, since
Unix uses a 'sparse' file structure where nothing is
allocated until it's written).  It does seem to have
trouble writing to it past the 4Gb, though, so perhaps
it's only partially implemented... 

Chris C

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019