Re: sys_lseek() broken for alpha

Stephen C. Tweedie (sct@dcs.ed.ac.uk)
Tue, 14 May 1996 01:11:18 +0100


Hi,

On Mon, 13 May 1996 17:35:32 +0200 (MET DST),
koenig@tat.physik.uni-tuebingen.de (Harald Koenig) said:

> sys_lseek() should return off_t which is long (64 bit) for alpha but
> returns 32bit int. as a result, fdisk fails for >2GB disks.

Go and complain to your friendly ANSI / K&R / POSIX guru. :( I'm
afraid that the return type NEEDS to be int for compliance with the
world's libc standards. That's precisely why we need sys_llseek() on
the intel platform to get 64-bit partition access.

Cheers,
Stephen.

--
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.