plex86-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Plex86-devel] [Patch #915] write-cache.cc doesn't use correct datatype


From: noreply
Subject: [Plex86-devel] [Patch #915] write-cache.cc doesn't use correct datatype for 32-bit seeks
Date: Sun, 25 May 2003 21:54:42 -0000

Patch #915 has been updated. 

Project: 
Category: None
Status: Closed
Summary: write-cache.cc doesn't use correct datatype for 32-bit seeks

Follow-Ups:

Date: Fri 01/03/03 at 07:47
By: mithy73

Comment:
in the DoSeek() method, the variable 'result' is defined as a loff_t. This is 
fine for Linux which supports 64-bit seeks and returns a loff_t, but other 
operating systems that don't know what a loff_t is can't even compile the code. 
So the patch is simply to wrap '#ifdef LARGEFILES' around the block, and define 
result as a 'off_t' variable if the machine does things the old-fashioned way.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.nongnu.org/patch/?func=detailpatch&patch_id=915&group_id=869




reply via email to

[Prev in Thread] Current Thread [Next in Thread]