mirror of
https://github.com/fadden/nulib2.git
synced 2024-12-27 17:29:57 +00:00
Fix a wayward assert.
This commit is contained in:
parent
376b8c93d8
commit
038843ddb2
@ -1,3 +1,8 @@
|
||||
2006/02/18 fadden
|
||||
- Correct a wayward assert. (Changing the filetype of a file from an
|
||||
HFS disk, which has zero-length data fork, falsely triggered the
|
||||
assert.)
|
||||
|
||||
2005/09/17 ***** v2.1.0 shipped *****
|
||||
|
||||
2005/09/17 fadden
|
||||
|
@ -1412,7 +1412,7 @@ Nu_CopyFileSection(NuArchive* pArchive, FILE* dstFp, FILE* srcFp, long length)
|
||||
Assert(pArchive != nil);
|
||||
Assert(dstFp != nil);
|
||||
Assert(srcFp != nil);
|
||||
Assert(length);
|
||||
Assert(length >= 0); /* can be == 0, e.g. empty data fork from HFS */
|
||||
|
||||
/* nice big buffer, for speed... could use getc/putc for simplicity */
|
||||
err = Nu_AllocCompressionBufferIFN(pArchive);
|
||||
|
Loading…
Reference in New Issue
Block a user