SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
misc/hfsplus/patches/patch-libhfsp_src_btree_c
Normal file
11
misc/hfsplus/patches/patch-libhfsp_src_btree_c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- libhfsp/src/btree.c.orig Tue Mar 5 19:50:28 2002
|
||||
+++ libhfsp/src/btree.c Fri Jan 28 07:34:52 2011
|
||||
@@ -393,7 +393,7 @@ static int btree_init(btree* bt, volume* vol, hfsp_for
|
||||
{
|
||||
p = volume_readfromfork(vol, nodebuf, fork, 0, bt->blkpernode,
|
||||
HFSP_EXTENT_DATA, bt->cnid);
|
||||
- ((char*) p) += HEADER_RESERVEDOFFSET; // skip header
|
||||
+ p = (((char *)p) + HEADER_RESERVEDOFFSET); // skip header
|
||||
}
|
||||
|
||||
bt->alloc_bits = malloc(alloc_size);
|
Loading…
Add table
Add a link
Reference in a new issue