delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/23/09:44:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <006f01c440cc$13eef530$64fda287@docbill002>
From: "Bill C. Riemers" <cygwin AT docbill DOT net>
To: <cygwin AT cygwin DOT com>
References: <NUTMEGnzSkqx5P7wS74000001fc AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040521150946 DOT 03262f68 AT pop DOT theworld DOT com> <20040521192359 DOT GA6832 AT coe DOT bosbc DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0405211603090 DOT 21907 AT slinky DOT cs DOT nyu DOT edu> <cb51e2e04052113071fa8593 AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0405211614110 DOT 21907 AT slinky DOT cs DOT nyu DOT edu> <20040521203759 DOT GB7790 AT coe DOT bosbc DOT com> <00ba01c43f74$50560f30$64fda287 AT docbill002> <Pine DOT CYG DOT 4 DOT 58 DOT 0405211604310 DOT 3524 AT fordpc DOT vss DOT fsi DOT com> <00af01c4403b$42c1c5e0$64fda287 AT docbill002> <20040523025407 DOT GA5586 AT coe DOT bosbc DOT com>
Subject: Re: ftruncate64() question?
Date: Sun, 23 May 2004 09:29:23 -0400
MIME-Version: 1.0
X-IsSubscribed: yes

> On Sat, May 22, 2004 at 04:24:22PM -0400, Bill C. Riemers wrote:
>   bash-2.05b$ ./off_t
>   sizeof(off_t) = 8

> You don't use ftruncate64.  You use ftruncate.  Cygwin is 64 bit by
default.

I stand correct.  The bug was elsewhere in my code.  I have been working
with java so much recently, I had forgotten that on Intel platforms long is
only 32 bits...  My workaround because I implemented it on the filename
before the value was truncated by passing it to my function
as a long...

> How about referencing these messages so we'd have some clue as to what
> you're talking about?

Sorry, as I originally commented RedHat now considers my IE 6.0 browser a
spambot.  The way I ended up working around the problem to view the messages
anyway did not allow me to cut and paste URL's.

                          Bill



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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