Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Do not call for extra lseek.
Vsevolod Stakhov committed 12 years ago
commit 27eb15b0cba7087f435b092a809a0874a329a418
parent 201f2cec0a10b9f5297de6bb8a1daf3cda3e7067
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) {