Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Do not call for extra lseek.
Vsevolod Stakhov committed 12 years ago
commit 27eb15b0cba7087f435b092a809a0874a329a418
parent 201f2ce
1 file changed +0 -2
modified libpkg/pkg_repo.c
@@ -367,8 +367,6 @@ pkg_repo_meta_extract_signature_pubkey(int fd, void *ud)
	archive_read_support_filter_all(a);
	archive_read_support_format_tar(a);

-
	/* Seek to the begin of file */
-
	(void)lseek(fd, 0, SEEK_SET);
	archive_read_open_fd(a, afd, 4096);

	while (archive_read_next_header(a, &ae) == ARCHIVE_OK) {