file_stream: Bugfixes
* libmailutils/stream/file_stream.c (fd_open): Remove file state checks: it is the responsibility of the caller. Set autoclose on the *stream* flags (bugfix, previously the underlying fd was never closed). Clear MU_STREAM_SEEK flag if seek fails. (_mu_file_stream_create): Remove assignment to stream.error_string * include/mailutils/stream.h (MU_STREAM_ALLOW_LINKS): Remove flag. * libmailutils/base/amd.c (amd_message_stream_open): Initialize flags to 0.
Showing
3 changed files
with
6 additions
and
47 deletions
-
Please register or sign in to post a comment