www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/02/15:09:15

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Fri, 2 Feb 2001 15:08:47 -0500
MIME-Version: 1.0
Subject: lfilelength doc change
Message-ID: <3A7ACD7F.17659.AE1F6A@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

Hi guys,
After reading through the single Unix online docs and the LFS docs, negative offsets 
aren't considered valid. Therefore, I'd like to change 2^64 back to 2^63 and be done 
with it.

Index: docs/kb/wc204.txi
===================================================================
RCS file: /cvs/djgpp/djgpp/src/docs/kb/wc204.txi,v
retrieving revision 1.48
diff -c -p -r1.48 wc204.txi
*** wc204.txi	2001/02/02 15:10:41	1.48
--- wc204.txi	2001/02/02 20:04:36
*************** that OS.
*** 228,234 ****
  
  @findex lfilelength AT r{, and FAT32}
  The function @code{lfilelength} added with return type @code{long long}
! to support file sizes of up to @math{2^64-2}.
  
  @pindex djasm AT r{, documentation}
  Texinfo documentation (WIP) for @code{djasm} has been added.
--- 228,234 ----
  
  @findex lfilelength AT r{, and FAT32}
  The function @code{lfilelength} added with return type @code{long long}
! to support file sizes of up to @math{2^63-2}.
  
  @pindex djasm AT r{, documentation}
  Texinfo documentation (WIP) for @code{djasm} has been added.
Index: libc/posix/sys/stat/lfilelen.txh
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/posix/sys/stat/lfilelen.txh,v
retrieving revision 1.2
diff -c -p -r1.2 lfilelen.txh
*** lfilelen.txh	2001/01/26 18:50:45	1.2
--- lfilelen.txh	2001/02/02 20:04:36
*************** The size of the file in bytes, or (if an
*** 19,25 ****
  @var{errno} set to a value describing the cause of the failure.
  
  The return value is of type @code{long long} which allows file sizes of
! @math{2^64-2} bytes to be returned.  Note that FAT16 limits files to near
  @math{2^31} bytes and FAT32 limits files to @math{2^32-2} bytes.
  
  @subheading Portability
--- 19,25 ----
  @var{errno} set to a value describing the cause of the failure.
  
  The return value is of type @code{long long} which allows file sizes of
! @math{2^63-2} bytes to be returned.  Note that FAT16 limits files to near
  @math{2^31} bytes and FAT32 limits files to @math{2^32-2} bytes.
  
  @subheading Portability

- Raw text -


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