mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Renamed g10.c to gpg.c
Filelength fixes for W32.
This commit is contained in:
parent
98dc48464f
commit
bd1df0119c
36 changed files with 2748 additions and 2547 deletions
|
@ -561,8 +561,10 @@ write_plaintext_packet (IOBUF out, IOBUF inp, const char *fname, int ptmode)
|
|||
if ( !iobuf_is_pipe_filename (fname) && *fname )
|
||||
{
|
||||
off_t tmpsize;
|
||||
|
||||
if( !(tmpsize = iobuf_get_filelength(inp)) )
|
||||
int overflow;
|
||||
|
||||
if( !(tmpsize = iobuf_get_filelength(inp, &overflow))
|
||||
&& !overflow )
|
||||
log_info (_("WARNING: `%s' is an empty file\n"), fname);
|
||||
|
||||
/* We can't encode the length of very large files because
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue