From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from homiemail-a19.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by che.dreamhost.com (Postfix) with ESMTP id 1587CFE98 for ; Wed, 23 Mar 2011 17:48:19 -0700 (PDT) Received: from homiemail-a19.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTP id 0611460406C for ; Wed, 23 Mar 2011 17:34:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=the-brannons.com; h=from:to :subject:date:message-id; q=dns; s=the-brannons.com; b=HzW6T7F7r UZVAPWrIKR6qynOnVzHPFZ2+m1Y/8Fm0P1J2YaQE0XAwYf7ooI3cso9uhRmQUDtN KmYOFWtTRsZdfAGYIY3+mI8cM1E4WhBIU2C3jZgeztFJQlMkS2rV/1BbMdkxHtoK lUpdD7Xzom81XbP/655USeFvsy0rNUfPXU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=the-brannons.com; h=from :to:subject:date:message-id; s=the-brannons.com; bh=XhW1bLwOs1q+ noTChhA1o3HlTr0=; b=hH6G/ZhrZ/3xfhgi9Pe30LSaeI6jG7M7BDfKyOj5OIdf umuK1qOD2ep3UgOTGjFm1ge3PWDKDJbIu+IGzWzpb4yiKNP6F4XbGyCJjkcqHj6q CehbgwkEUBrl6MBt1/98OwdWFOvqsSOvDlL41jBj8dkPKml5xlTNPYagp6jwTiM= Received: from localhost (ip68-12-125-253.ok.ok.cox.net [68.12.125.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: chris@the-brannons.com) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPSA id C22B2604069 for ; Wed, 23 Mar 2011 17:34:09 -0700 (PDT) From: Chris Brannon To: edbrowse-dev@lists.the-brannons.com Date: Thu, 24 Mar 2011 00:34:07 +0000 Message-Id: <20110324003409.C22B2604069@homiemail-a19.g.dreamhost.com> Subject: [Edbrowse-dev] stat() overflow X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2011 00:48:19 -0000 Actually stat64 seems to be a figment of my imagination. What we need to do on 32-bit systems to prevent these overflow errors from stat() is define _FILE_OFFSET_BITS to 64, probably in the makefile. But we need to be very careful, because many parts of the edbrowse code assume that a file size is an int. Actually, I'm not even sure that the assumption holds on 64-bit systems, where an int is 32 bits and a long is 64 bits. -- Chris