lseek()

Richard B. Johnson (root@chaos.analogic.com)
Thu, 10 Dec 1998 20:59:29 -0500 (EST)


Note:
lseek(fd, 0, SEEK_SET) pretends that it really works on a
SCSI tape drive on glibc 2.0.6. This can cause undetected
bugs.

I suggest that it return -1 with errno set to EBADF as
documented.

Cheers,
Dick Johnson
***** FILE SYSTEM WAS MODIFIED *****
Penguin : Linux version 2.1.131 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/