gpg: Fix "Too many open files" when using --multifile.
authorWerner Koch <wk@gnupg.org>
Wed, 2 May 2018 17:03:07 +0000 (19:03 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 2 May 2018 17:03:07 +0000 (19:03 +0200)
commitf7f3043653abe699602f910ddd09c1405675c7f6
treeb6d8045337c5dd53b0ef86de840b5dfb678aec56
parent007dde93cc3971cb51d08e8c082e172506ae7f80
gpg: Fix "Too many open files" when using --multifile.

* common/miscellaneous.c (is_file_compressed): Don't cache the file.
--

This seems to be a pretty old bug.  The fix is easy and also reveals
that -z0 can be used as a workaround.

GnuPG-bug-id: 3951
Signed-off-by: Werner Koch <wk@gnupg.org>
common/miscellaneous.c