1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-09-18 17:32:48 +02:00
aerc/lib/jwz/testdata/0095.b51416f612ac5737e0f4a5529ce453d1.eml
Robin Jarry 13e9ee3b40 lib: vendor-in the jwz library
The maintainer of this library has gone AWOL. We are depending on
a patch that has never been merged. Let's vendor the library to avoid
future issues.

This patch has been made with the following steps:

git clone https://github.com/konimarti/jwz lib/jwz
git -C lib/jwz checkout fix-missing-messages
mv lib/jwz/test/testdata/ham lib/jwz/testdata
sed -i 's#test/testdata#testdata#' lib/jwz/jwz_test.go
rm -rf lib/jwz/.* lib/jwz/docs lib/jwz/examples lib/jwz/test
sed -i 's#github.com/gatherstars-com/jwz#git.sr.ht/~rjarry/aerc/lib/jwz#' \
	lib/threadbuilder.go
go mod tidy
git add --intent-to-add lib/jwz
make fmt

Along with some manual adjustments to fix the linter warnings. Also, to
make the patch smaller, I only kept 93 test emails from the test data
fixture.

Changelog-changed: The JWZ library used for threading is now vendored.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Reviewed-by: Moritz Poldrack <moritz@poldrack.dev>
2025-08-28 09:28:16 +02:00

44 lines
1.5 KiB
Text

From: justin.armstrong@acm.org Mon Sep 2 12:29:05 2002
Replied: Mon, 02 Sep 2002 16:16:00 +0100
Replied: Justin Armstrong <justin.armstrong@acm.org>
Return-Path: <justin.armstrong@acm.org>
Delivered-To: zzzz@localhost.netnoteinc.com
Received: from localhost (localhost [127.0.0.1])
by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 059B643F9B
for <zzzz@localhost>; Mon, 2 Sep 2002 07:29:03 -0400 (EDT)
Received: from phobos [127.0.0.1]
by localhost with IMAP (fetchmail-5.9.0)
for zzzz@localhost (single-drop); Mon, 02 Sep 2002 12:29:03 +0100 (IST)
Received: from mail02.svc.cra.dublin.eircom.net
(mail02.svc.cra.dublin.eircom.net [159.134.118.18]) by dogma.slashnull.org
(8.11.6/8.11.6) with SMTP id g7UFaQZ31051 for <zzzz@example.com>;
Fri, 30 Aug 2002 16:36:26 +0100
Received: (qmail 43115 messnum 226689 invoked from
network[159.134.229.50/p306.as3.adl.dublin.eircom.net]); 30 Aug 2002
15:36:34 -0000
Received: from p306.as3.adl.dublin.eircom.net (HELO mingmecha)
(159.134.229.50) by mail02.svc.cra.dublin.eircom.net (qp 43115) with SMTP;
30 Aug 2002 15:36:34 -0000
Content-Type: text/plain; charset="iso-8859-1"
From: Justin Armstrong <justin.armstrong@acm.org>
Subject: find the bug
Date: Fri, 30 Aug 2002 16:36:46 +0100
X-Mailer: KMail [version 1.4]
To: zzzz@example.com (Justin Mason)
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200208301636.46996.justin.armstrong@acm.org>
//this function should print all numbers up to 100...
void print_nums()
{
int i;
for(i = 0; i < 10l; i++) {
printf("%d\n",i);
}
}