Kuberan Naganathan <kubi...@gmail.com> added the comment:

I did some testing on this.  Solaris seems to treat files as a large
circular buffer of size 2^64 with respect to seeks in the /proc file system
address space file. No error results with seeks of greater than 2^63 with
any of SEEK_SET, SEEK_CUR, SEEK_END.  This is not true of a regular file
where I get errno=22 when seeking to an offset greater than or equal to
2^63.

So even on solaris the behavior seems to be filesystem dependent.

----------
Added file: http://bugs.python.org/file22645/unnamed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12545>
_______________________________________
<p>I did some testing on this.  Solaris seems to treat files as a large 
circular buffer of size 2^64 with respect to seeks in the /proc file system 
address space file. No error results with seeks of greater than 2^63 with any 
of SEEK_SET, SEEK_CUR, SEEK_END.  This is not true of a regular file where I 
get errno=22 when seeking to an offset greater than or equal to 2^63.  </p>

<p>So even on solaris the behavior seems to be filesystem dependent.  </p>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to