>From: [EMAIL PROTECTED]
>[EMAIL PROTECTED] (Chris Lawrence) quoted and then wrote:
>>On Sep 19, James Pearson wrote:
>>> However, there are probably limits in my code (and/or libhfs) that means
>>> 2Gb is the maximum.
>>
>>Indeed; I encountered a similar problem building PowerPC DVDs and
>>found that it misbehaved due to the 2 GB limit. (I don't recall the
>>precise error message; I don't think it segfaulted, though.)
>Considering the statement that then limit should be 4GB, it is
>always possible that the most probable error (using a signed
>rather than an unsigned data type) is in the code that reads
>the result rather than the code that writes the volume.
At application level you are wrong: negative offsets are needed with
lseek(f, off, SEEK_CUR),
at FS level you may use unsigneds.
J�rg
EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
[EMAIL PROTECTED] (uni) If you don't have iso-8859-1
[EMAIL PROTECTED] (work) chars I am J"org Schilling
URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]