Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix qt4-docs registration
Baptiste Daroussin committed 14 years ago
commit 95f1b9eee7d4a3fc3279dd9b7b1c8dc2230db034
parent 91cc0d4
1 file changed +2 -2
modified libpkg/pkg_ports.c
@@ -293,9 +293,9 @@ ports_parse_plist(struct pkg *pkg, char *plist)
					/* This is the first time we see this hardlink */
					if (regular == true) {
						if (hardlinks.cap <= hardlinks.len) {
-
							hardlinks.cap += 10;
+
							hardlinks.cap += BUFSIZ;
							hardlinks.inodes = reallocf(hardlinks.inodes,
-
														hardlinks.cap);
+
								hardlinks.cap * sizeof(ino_t));
						}
						hardlinks.inodes[hardlinks.len++] = st.st_ino;
					}