9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] libbio and large files
@ 2008-05-15 13:30 Jeff Sickel
  2008-05-19 19:22 ` Russ Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Sickel @ 2008-05-15 13:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-19 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-15 13:30 [9fans] libbio and large files Jeff Sickel
2008-05-19 19:22 ` Russ Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).