From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <47FD9EF1-7EE5-4624-8FE7-55F5BA21184A@corpus-callosum.com> From: Jeff Sickel To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Thu, 15 May 2008 08:30:19 -0500 Subject: [9fans] libbio and large files Topicbox-Message-UUID: a95674c8-ead3-11e9-9d60-3106f5b1d025 This question may be more applicable when addressing p9p on other systems: I'm seeking a little clarification about Bopen and reading through files larger than (2^31 bytes). Other host systems where p9p works (very well I might add) tend to have different definitions for off_t depending on 32/64 bit support (some require off64_t while others do contortions around redefining off_t depending on the joy of compiler flags, both leading to other incantations that may require orthodontia), how does one go about ensuring that their host OS does properly access large files properly when using libbio? Also--shouldn't binit.c:125 in p9p be updated to the changes found on sources? cpu % history -D binit.c ... /n/sourcesdump/2008/0430/plan9/sys/src/libbio/binit.c:108 c /n/ sourcesdump/2005/0829/plan9/sys/src/libbio/binit.c:108 < f = open(name, mode); --- > f = open(name, OREAD); ... -jas