# HG changeset patch # User Timo Sirainen # Date 1227105259 -7200 # Node ID a3feb99907afc2d17c1233b724d91c9477a6603c # Parent 596a577698c1ee8016fee4063b149fe2b936186c Subscriptions file: Don't ignore last line if it's missing LF. diff -r 596a577698c1 -r a3feb99907af src/lib-storage/list/subscription-file.c --- a/src/lib-storage/list/subscription-file.c Wed Nov 19 16:28:46 2008 +0200 +++ b/src/lib-storage/list/subscription-file.c Wed Nov 19 16:34:19 2008 +0200 @@ -221,6 +221,7 @@ } else { ctx->input = i_stream_create_fd(fd, list->mailbox_name_max_length+1, TRUE); + i_stream_set_return_partial_line(ctx->input, TRUE); } ctx->path = i_strdup(path); return ctx; @@ -275,6 +276,7 @@ ctx->input = i_stream_create_fd(fd, ctx->list->mailbox_name_max_length+1, TRUE); + i_stream_set_return_partial_line(ctx->input, TRUE); } return line; }