delorie.com/archives/browse.cgi | search |
Message-Id: | <5.0.2.1.0.20001213195731.025c3550@pop5.banet.net> |
X-Sender: | usbanet DOT farley3 AT pop5 DOT banet DOT net |
X-Mailer: | QUALCOMM Windows Eudora Version 5.0.2 |
Date: | Wed, 13 Dec 2000 20:00:39 -0500 |
To: | Martin Stromberg <eplmst AT lu DOT erisoft DOT se> |
From: | "Peter J. Farley III" <pjfarley AT banet DOT net> |
Subject: | Re: Locking fcntl changes #2 |
Cc: | djgpp-workers AT delorie DOT com |
In-Reply-To: | <200012130834.JAA15590@lws256.lu.erisoft.se> |
References: | <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20001212202947 DOT 025a4c70 AT pop5 DOT banet DOT net> |
Mime-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
At 09:34 AM 12/13/00 +0100, Martin Stromberg wrote: <Snipped> >> >Why are you using lseek() here and not llseek? >> >> Because this is the 31-bit section, not the FAT32 section. I use >> llseek in the FAT32 section. > >But llseek will do the job as well and better. Understood. With Eli's comments after my investigation of filelength also in mind, I agree that it should be llseek consistently. Although I might also just modify filelength itself to use llseek, I will still change all of fcntl's lseek's to llseek's. --------------------------------------------------------- Peter J. Farley III (pjfarley AT dorsai DOT org OR pjfarley AT banet DOT net)
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |