Hello. Update to v14.9.11 ("Tit family enjoying a bath") with many many bugfixes and some new features like message info "from the front":
? digmsg create 1 -;digmsg 1 header show from; digmsg remove 1 Ciao! Index: Makefile =================================================================== RCS file: /cvs/ports/mail/s-nail/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 4 May 2018 14:07:27 -0000 1.20 +++ Makefile 9 Aug 2018 20:26:20 -0000 @@ -2,7 +2,7 @@ COMMENT= SysV mail/BSD Mail/POSIX mailx: send and receive mail -DISTNAME= s-nail-14.9.10 +DISTNAME= s-nail-14.9.11 CATEGORIES= mail HOMEPAGE= https://www.sdaoden.eu/code.html\#s-mailx Index: distinfo =================================================================== RCS file: /cvs/ports/mail/s-nail/distinfo,v retrieving revision 1.14 diff -u -p -r1.14 distinfo --- distinfo 4 May 2018 14:07:27 -0000 1.14 +++ distinfo 9 Aug 2018 20:26:20 -0000 @@ -1,2 +1,2 @@ -SHA256 (s-nail-14.9.10.tar.gz) = h63nu+sRAlCvzoIhsrtVOj2WYTJ9/KP2IplPsBfEnMs= -SIZE (s-nail-14.9.10.tar.gz) = 895283 +SHA256 (s-nail-14.9.11.tar.gz) = J5ICaHQJuOe08mfheK7RvUxot5wBwQuA8HGX8vc9ZpU= +SIZE (s-nail-14.9.11.tar.gz) = 926261 Index: patches/patch-obs-imap_c =================================================================== RCS file: patches/patch-obs-imap_c diff -N patches/patch-obs-imap_c --- patches/patch-obs-imap_c 4 May 2018 14:07:27 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,58 +0,0 @@ ---- obs-imap.c -+++ obs-imap.c -@@ -246,10 +246,9 @@ static enum okay imap_list(struct mailbox *mp, const char *base, int strip, - static enum okay imap_copy1(struct mailbox *mp, struct message *m, int n, - const char *name); - static enum okay imap_copyuid_parse(const char *cp, -- unsigned long *uidvalidity, unsigned long *olduid, -- unsigned long *newuid); -+ ui64_t *uidvalidity, ui64_t *olduid, ui64_t *newuid); - static enum okay imap_appenduid_parse(const char *cp, -- unsigned long *uidvalidity, unsigned long *uid); -+ ui64_t *uidvalidity, ui64_t *uid); - static enum okay imap_copyuid(struct mailbox *mp, struct message *m, - const char *name); - static enum okay imap_appenduid(struct mailbox *mp, FILE *fp, time_t t, -@@ -3465,16 +3464,16 @@ imap_copy(struct message *m, int n, const char *name) - } - - static enum okay --imap_copyuid_parse(const char *cp, unsigned long *uidvalidity, -- unsigned long *olduid, unsigned long *newuid) -+imap_copyuid_parse(const char *cp, ui64_t *uidvalidity, ui64_t *olduid, -+ ui64_t *newuid) - { -- char *xp, *yp, *zp; -+ char const *xp, *yp, *zp; - enum okay rv; - NYD_ENTER; - -- *uidvalidity = strtoul(cp, &xp, 10); -- *olduid = strtoul(xp, &yp, 10); -- *newuid = strtoul(yp, &zp, 10); -+ n_idec_ui64_cp(uidvalidity, cp, 10, &xp); /* TODO errors */ -+ n_idec_ui64_cp(olduid, xp, 10, &yp); /* TODO errors */ -+ n_idec_ui64_cp(newuid, yp, 10, &zp); /* TODO errors */ - rv = (*uidvalidity && *olduid && *newuid && xp > cp && *xp == ' ' && - yp > xp && *yp == ' ' && zp > yp && *zp == ']'); - NYD_LEAVE; -@@ -3482,15 +3481,14 @@ imap_copyuid_parse(const char *cp, unsigned long *uidvalidity, - } - - static enum okay --imap_appenduid_parse(const char *cp, unsigned long *uidvalidity, -- unsigned long *uid) -+imap_appenduid_parse(const char *cp, ui64_t *uidvalidity, ui64_t *uid) - { -- char *xp, *yp; -+ char const *xp, *yp; - enum okay rv; - NYD_ENTER; - -- *uidvalidity = strtoul(cp, &xp, 10); -- *uid = strtoul(xp, &yp, 10); -+ n_idec_ui64_cp(uidvalidity, cp, 10, &xp); /* TODO errors */ -+ n_idec_ui64_cp(uid, xp, 10, &yp); /* TODO errors */ - rv = (*uidvalidity && *uid && xp > cp && *xp == ' ' && yp > xp && - *yp == ']'); - NYD_LEAVE; --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)