X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fcorpus%2F05;fp=test%2Fcorpus%2F05;h=b918d1ceab0f4ebae25cbc242f832245e703a424;hp=0000000000000000000000000000000000000000;hb=d805866ec502540e80b6209bfb6a54fd24ff4458;hpb=ba9f9efc9a8ba9d6e509d4041a66e9a2d31171b1 diff --git a/test/corpus/05 b/test/corpus/05 new file mode 100644 index 00000000..b918d1ce --- /dev/null +++ b/test/corpus/05 @@ -0,0 +1,33 @@ +From: "Alex Botero-Lowry" +To: notmuch@notmuchmail.org +Date: Tue, 17 Nov 2009 11:36:14 -0800 +Subject: [notmuch] preliminary FreeBSD support +Message-ID: + +I saw the announcement this morning, and was very excited, as I had been +hoping sup would be turned into a library, +since I like the concept more than the UI (I'd rather an emacs interface). + +I did a preliminary compile which worked out fine, but +sysconf(_SC_SC_GETPW_R_SIZE_MAX) returns -1 on +FreeBSD, so notmuch_config_open segfaulted. + +Attached is a patch that supplies a default buffer size of 64 in cases where +-1 is returned. + +http://www.opengroup.org/austin/docs/austin_328.txt - seems to indicate this +is acceptable behavior, +and http://mail-index.netbsd.org/pkgsrc-bugs/2006/06/07/msg016808.htmlspecifically +uses 64 as the +buffer size. +-------------- next part -------------- +An HTML attachment was scrubbed... +URL: +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: 0001-Deal-with-situation-where-sysconf-_SC_GETPW_R_SIZE_M.patch +Type: application/octet-stream +Size: 1050 bytes +Desc: not available +URL: +