[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help with afio on powerpc



Dirk Eddelbuettel (edd@debian.org) wrote:
> A while back, Dieter Schuster reported (and then kindly fixed with a patch)
> an issue with afio files on 32-bit powerpc systems [ cf #144986 ].  Today I
> received a new bug report, and patch, by Stephen van Egmond for 64-bit
> powerpc systems [ cf #153948 ].
> 
> I would greatly appreciate help from powerpc-savvy users who could reconcile
> both patches. Any takers?

Actually it's not a fix to ppc64.  The earlier patch -broke- ppc32.  On
my iBook (assuredly 32 bit), backups just completely didn't work. Much
like the subject to bugs.debian.org/144986 .

The problem was that 64-bit filesystem was turned on. This makes off_t
64 bits.  This means that sscanf() must be changed to say %L instead of
%l when scanning into an off_t, or else big-endian architectures will
break, whether 32 or 64 bit.

I hope this clarifies.

Steve


-- 
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: