From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <73983bfd51da35f59c96b6149983b3fc.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199605140011.BAA00734@dax.dcs.ed.ac.uk> Date: Tue, 14 May 1996 01:11:18 +0100 From: Stephen C. Tweedie Subject: Re: sys_lseek() broken for alpha In-Reply-To: <9605131630.AA21546@nova.tat.physik.uni-tuebingen.de> 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 Department of Computer Science, Edinburgh University, Scotland.