From: <bug...@wi...> - 2003-04-26 14:28:48
|
Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there. http://bugzilla.gnome.org/show_bug.cgi?id=104840 Changed by wim...@ch.... --- shadow/104840 Wed Apr 23 07:53:11 2003 +++ shadow/104840.tmp.8958 Sat Apr 26 10:28:43 2003 @@ -34,6 +34,11 @@ GNOME_VFS_ERROR_NOT_SUPPORTED if you seek on a handle where its not supported. For local file-uris I don't see how it can read random memory, gnome_vfs_seek() just calls lseek(). However, there is no "seekable" property you can read. Is there even a posix API we could use to implement this? + +------- Additional Comments From wim...@ch... 2003-04-26 10:28 ------- +lseek returns -1 when an error occured, you can check errno to find +out that it was a pipe/socket or fifo (ESPIPE) you were seeking on; I +would suggest to return _NOT_SUPPORTED in that case. |