[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sharutils] find_archive() passes off_t to fseek()
From: |
Petr Pisar |
Subject: |
[sharutils] find_archive() passes off_t to fseek() |
Date: |
Mon, 2 Dec 2013 08:27:02 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
pgpbaE0Ho_pWH.pgp
Description: PGP signature
- [sharutils] find_archive() passes off_t to fseek(),
Petr Pisar <=