From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20987 invoked by alias); 23 May 2004 13:44:34 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20974 invoked from network); 23 May 2004 13:44:30 -0000 Received: from unknown (HELO fep1.cogeco.net) (216.221.81.25) by sourceware.org with SMTP; 23 May 2004 13:44:30 -0000 Received: from docbill002 (d150-157-40.home.cgocable.net [24.150.157.40]) by fep1.cogeco.net (Postfix) with ESMTP id C23AB61D5 for ; Sun, 23 May 2004 09:44:29 -0400 (EDT) Message-ID: <006f01c440cc$13eef530$64fda287@docbill002> From: "Bill C. Riemers" To: References: <6.1.0.6.0.20040521150946.03262f68@pop.theworld.com> <20040521192359.GA6832@coe.bosbc.com> <20040521203759.GB7790@coe.bosbc.com> <00ba01c43f74$50560f30$64fda287@docbill002> <00af01c4403b$42c1c5e0$64fda287@docbill002> <20040523025407.GA5586@coe.bosbc.com> Subject: Re: ftruncate64() question? Date: Mon, 24 May 2004 09:25:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2004-05/txt/msg00776.txt.bz2 > 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/