Added some minor debug output, and a ToDo comment for file_seek().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9714 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-11-01 19:48:40 +00:00
parent 8370cac7f6
commit 7adec93fe8

View File

@ -2562,6 +2562,9 @@ file_seek(struct file_descriptor *descriptor, off_t pos, int seekType)
{
off_t offset;
FUNCTION(("file_seek(pos = %Ld, seekType = %d)\n", pos, seekType));
// ToDo: seek should fail for pipes and FIFOs...
switch (seekType) {
case SEEK_SET:
offset = 0;