Greg Schafer wrote:
>> _llseek(3, 1028225536, [1028225536], SEEK_SET) = 0
>> read(3, "ReIsEr4\0\0\0\0\0\0\0\0\0\0\0\0\20\2725\3511\237\246M\204"...,
>> 1024) = 1024
Here is a completely untested patch. Someone wanna try it? It's based on
previous problems we had with sfdisk and GCC-3.4.x
It's a long shot :-(
Regards
Greg
--
http://www.diy-linux.org/
diff -ur util-linux-2.12q.orig/fdisk/llseek.c util-linux-2.12q/fdisk/llseek.c
--- util-linux-2.12q.orig/fdisk/llseek.c 2003-07-14 07:13:33.000000000
+1000
+++ util-linux-2.12q/fdisk/llseek.c 2005-09-03 12:48:09.000000000 +1000
@@ -31,7 +31,7 @@
#ifdef __NR__llseek
-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
+static __attribute__ ((used)) _syscall5(int,_llseek,unsigned int,fd,unsigned
long,offset_high,
unsigned long, offset_low,long long *,result,
unsigned int, origin)
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page