SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
misc/hfsplus/patches/patch-src_copyout_c
Normal file
14
misc/hfsplus/patches/patch-src_copyout_c
Normal file
|
@ -0,0 +1,14 @@
|
|||
Fix passing &size to int *lenptr
|
||||
|
||||
Index: src/copyout.c
|
||||
--- src/copyout.c.orig
|
||||
+++ src/copyout.c
|
||||
@@ -365,7 +365,7 @@ int do_text(volume* vol, hfsp_fork_raw *fork, UInt8 fo
|
||||
{
|
||||
UInt32 block = blockiter_curr(&iter);
|
||||
int result = volume_readinbuf(vol, buf, block);
|
||||
- size_t size = total > blksize ? blksize : total;
|
||||
+ int size = total > blksize ? blksize : total;
|
||||
size_t bytes;
|
||||
char *latin1, *ptr, *ptrend;
|
||||
if (result)
|
Loading…
Add table
Add a link
Reference in a new issue