[Zope] Python LFS help needed (sorry if OT)

Andrew Kenneth Milton akm@theinternet.com.au
Fri, 12 Oct 2001 16:35:35 +1000


+-------[ Gitte Wange ]----------------------
|
| So I really don't have any good ideas ... 

Are you running an oldish Linux installation that has the
2Gb file size limit perhaps?

As for making a new 'tell' you can do a 0 relative lseek from the 
current position in the file, lseek should tell you the offset.

Something like this...

def tell(fd):
	return(lseek(fd, 0, SEEK_CUR))

YMMV

-- 
Totally Holistic Enterprises Internet|                      | Andrew Milton
The Internet (Aust) Pty Ltd          |                      |
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au|