[prev in list] [next in list] [prev in thread] [next in thread]
List: haiku-bugs
Subject: [haiku-bugs] Re: [Haiku] #3354: f.seekable() fails in python test_fileio.py
From: "korli" <trac () haiku-os ! org>
Date: 2012-07-30 21:34:49
Message-ID: 057.adcea66f338dd87a986be34e7627fa4b () haiku-os ! org
[Download RAW message or body]
#3354: f.seekable() fails in python test_fileio.py
-------------------------+----------------------------
Reporter: scottmc | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: - General | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------+----------------------------
Comment (by korli):
The seekable() method seems to use something like "lseek(fd, 0,
SEEK_CUR)". /dev/tty is a character device as set up by devfs, and seeking
on them seems fine for our VFS.
Opengroup doesn't say that a TTY isn't seekable. I would say, add a case
for haiku in the python test.
-- =
Ticket URL: <http://dev.haiku-os.org/ticket/3354#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic