Re: Fwd: Any user can panic OpenBSD machine

From: Chris Wedgwood (chrisat_private)
Date: Tue Jul 28 1998 - 16:14:42 PDT

  • Next message: Paul Boehm: "who"

    On Tue, Jul 28, 1998 at 03:03:44PM +0200, Felix Schroeter wrote:
    
    > Shouldn't the internal sum better be 64-bit? After all, FFS is able
    > to do files > 2^32 bytes...
    
    No.
    
    read(2), etc. return the number of bytes transferred - so it must be
    within an unsigned machine word.
    
    On OSs where the ABI supports large machine words than 32-bits, then
    files over 2/4GB are indeed possible.
    
    
    
    
    -cw
    



    This archive was generated by hypermail 2b30 : Fri Apr 13 2001 - 14:09:29 PDT