> > The problem: When lseek fails, the return value has garbage in the upper > 32 bits. This is because the cerror.S libc routine only returns -1 in r0. > This makes programs checking lseek() return values fail. > Wonderful! This can be the cause of many bugs. Perfect! -- Ragge