[sharutils] find_archive() passes off_t to fseek()

Petr Pisar <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
Hello,

current (4.14) src/unshar.c:find_archive() has third argument of type off_t,
and passed the value to fseek(3) function which expects long. Standard library
offers fseeko(3) for this reason.

I propose replace fseek() call with fseeko().

-- Petr
signature.asc (application/pgp-signature, 230 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EABEIAAYFAlKcNkUACgkQEsnFx2fG+qJ95QEAn9ZlznNAbzaZ+8UeccrkrZgc
UScedsnPX84ws2D3UUUBAJ1XrBNTD56W+mP9bDv8K3X7PKYmeCDJxRLiK3E8JD4y
=P6oi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.