reading the error string makes it unavailable for error message back
to user.
without fix
5 select bar
5 NO select can't open mailbox bar: p
after fix
2 select x
2 NO select can't open mailbox x: '/mail/box/quanstro/x' does not exist
--
/sys/src/cmd/ip/imap4d/mbox.c
mbox.c.orig:84,90 - /n/sources/patch/applied/imap4dselect/mbox.c:84,90
//ZZZ
char err[ERRMAX];
- errstr(err, sizeof err);
+ rerrstr(err, sizeof err);
if(strstr(err, "file does not exist") == nil)
fprint(2,
"imap4d at %lud: upas/fs open %s/%s as %s failed: '%s' %s",