mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
Merge branch 'release'
This commit is contained in:
commit
1979145b91
2 changed files with 9 additions and 0 deletions
|
@ -167,4 +167,11 @@ This is just a test message (#7)
|
||||||
EOF
|
EOF
|
||||||
test_expect_equal_file EXPECTED OUTPUT
|
test_expect_equal_file EXPECTED OUTPUT
|
||||||
|
|
||||||
|
# there are more than 200 messages in this corpus
|
||||||
|
add_email_corpus lkml
|
||||||
|
test_begin_subtest "new doesn't run out of file descriptors with many gzipped files"
|
||||||
|
ulimit -n 200
|
||||||
|
gzip --recursive ${MAIL_DIR}
|
||||||
|
test_expect_success "notmuch new"
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
|
|
@ -29,6 +29,8 @@ _gzfile_maybe_filter (GMimeStream *file_stream)
|
||||||
|
|
||||||
/* ignore filter id */
|
/* ignore filter id */
|
||||||
(void) g_mime_stream_filter_add ((GMimeStreamFilter *) gzstream, gzfilter);
|
(void) g_mime_stream_filter_add ((GMimeStreamFilter *) gzstream, gzfilter);
|
||||||
|
g_object_unref (gzfilter);
|
||||||
|
g_object_unref (file_stream);
|
||||||
return gzstream;
|
return gzstream;
|
||||||
} else {
|
} else {
|
||||||
return file_stream;
|
return file_stream;
|
||||||
|
|
Loading…
Reference in a new issue